Skip to content

Ads SDK: document opt-in player interception and fix native setup snippets - #981

Draft
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1794735048-ads-player-interception
Draft

devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1794735048-ads-player-interception

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Documents the upcoming opt-in interceptPlayer option of the OptiView Ads SDK. With it on, the SDK holds the first play for a preroll and handles play, pause, seek, mute and volume during ad breaks, while the app keeps its own player API. It is off by default, so the existing setup examples stay as they are.

  • Web, Android, iOS/tvOS and React Native guides, the SDK overview and getting started each get a short "Player interception (opt-in)" section with setup code, e.g. new OptiViewAds({ player, container, interceptPlayer: true }).
  • Limitations stated: THEOplayer Web needs 11.15+ (older versions keep reactive playback); on Android apps use the adapter's interceptedPlayer; react-native-video built-in, notification and Now Playing controls bypass interception.
  • Fixed existing native snippets: the Android renderer constructor, the manifest source/ticker arguments and the suspending session call inside a coroutine; the iOS renderer argument names and required arguments.

Draft: merge only once the SDK release that contains interceptPlayer is published.

Link to Devin session: https://dolby.devinenterprise.com/sessions/e7f02b2aa2394b6994e31ee6fa8dd55a
Open in Devin Desktop: https://dolby.devinenterprise.com/desktop/session/e7f02b2aa2394b6994e31ee6fa8dd55a?variant=devin


🟢 Devin Review found nothing to fix · View findings · Follow Devin's work

Devin Review

@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@theoplayer-bot

Copy link
Copy Markdown
Contributor
Documentation preview
🚀 View preview at
https://docs-preview.optiview.dolby.com/pr-981/

Deployed from commit 2e1de51 at 2026-11-15 09:54 UTC.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants