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

feat(Ads): Add support for interstitials when using src= #6777

Merged
merged 3 commits into from
Jun 10, 2024

Conversation

avelad
Copy link
Member

@avelad avelad commented Jun 10, 2024

No description provided.

@avelad avelad requested review from joeyparrish and theodab June 10, 2024 08:38
@avelad avelad added type: enhancement New feature or request component: ads The issue involves the Shaka Player ads API or the use of other ad SDKs browser: Safari Issues affecting Safari or WebKit derivatives priority: P3 Useful but not urgent labels Jun 10, 2024
@avelad avelad added this to the v4.10 milestone Jun 10, 2024
if (this.basePlayer_.getLoadMode() == shaka.Player.LoadMode.SRC_EQUALS &&
this.usingBaseVideo_) {
shaka.log.alwaysWarn(
'Unsupported interstitial when using single media element',
Copy link
Member Author

Choose a reason for hiding this comment

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

This is necessary because our system to only use one video depends on the preload api and there is no fallback for src=

lib/player.js Outdated Show resolved Hide resolved
@shaka-bot
Copy link
Collaborator

shaka-bot commented Jun 10, 2024

Incremental code coverage: 16.22%

@avelad avelad requested a review from tykus160 June 10, 2024 09:40
@avelad avelad merged commit 59304b8 into shaka-project:main Jun 10, 2024
14 of 15 checks passed
@avelad avelad deleted the interstitials-safari-src= branch June 10, 2024 11:46
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Aug 9, 2024
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Aug 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
browser: Safari Issues affecting Safari or WebKit derivatives component: ads The issue involves the Shaka Player ads API or the use of other ad SDKs priority: P3 Useful but not urgent status: archived Archived and locked; will not be updated type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants