Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Ads): Allow play interstitials on iOS fullscreen #7538

Merged
merged 2 commits into from
Nov 6, 2024

Conversation

avelad
Copy link
Member

@avelad avelad commented Nov 5, 2024

No description provided.

@avelad avelad added type: bug Something isn't working correctly component: ads The issue involves the Shaka Player ads API or the use of other ad SDKs priority: P2 Smaller impact or easy workaround platform: iOS Issues affecting iOS labels Nov 5, 2024
@avelad avelad added this to the v4.12 milestone Nov 5, 2024
/**
* @private
*/
checkSupportForMultipleMediaElements_() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know how happy I am that this method is called checkSupportForMultipleMediaElements_, but the variable that it mutates is called usingBaseVideo_. It seems non-obvious to me.

I can see three possible changes:

  1. Rename the variable. usingMultipleMediaElements_?
  2. Rename the method. determineIfUsingBaseVideo_?
  3. Add a JSDoc description mentioning that this method sets usingBaseVideo_.

Of those options I feel like 2 is the best, but I could see arguments for 1 or 3.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, done! (2nd option)

@avelad avelad requested a review from theodab November 6, 2024 08:50
@avelad avelad merged commit 84ae806 into shaka-project:main Nov 6, 2024
18 checks passed
@avelad avelad deleted the interstitials-ios branch November 6, 2024 09:30
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Jan 5, 2025
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Jan 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: ads The issue involves the Shaka Player ads API or the use of other ad SDKs platform: iOS Issues affecting iOS priority: P2 Smaller impact or easy workaround status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants