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 overlay interstitials (or non-linear ads) #7657

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

avelad
Copy link
Member

@avelad avelad commented Nov 25, 2024

No description provided.

@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 priority: P3 Useful but not urgent labels Nov 25, 2024
@avelad avelad added this to the v4.13 milestone Nov 25, 2024
@@ -116,10 +118,39 @@ shaka.extern.AdCuePoint;
* @property {boolean} timelineRange
* Indicates whether the interstitial should be presented in a timeline UI
* as a single point or as a range.
* @property {boolean} loop
* Indicates that the interstitials should play in loop.
* Only applies if the interstitials is an overlay.
Copy link
Contributor

Choose a reason for hiding this comment

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

Hm. I'm wondering if it would make more sense to make this be part of the shaka.extern.AdInterstitialOverlay structure. It's not logically a part of the overlay, but if it's only meant to be used when we are also using an overlay it might reduce confusion to move it into that structure...

Honestly, I'm undecided here.

Copy link
Member Author

Choose a reason for hiding this comment

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

I have the same question, but would anyone like to put a normal 1s interstitial with a loop and a 15 second limit to avoid downloading longer and heavier segments and simplify the logic. I'm looking to see if anyone has that requirement, that's why it's out right now.

@avelad avelad merged commit 70257ff into shaka-project:main Nov 25, 2024
22 of 23 checks passed
@avelad avelad deleted the overlay-interstitials branch November 25, 2024 11:30
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Jan 24, 2025
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Jan 24, 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 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.

3 participants