Provides sample apps for the Brightcove Player SDK and Plugins for Android
View the Project on GitHub BrightcoveOS/android-player-samples
Plays a video with Brightcove server-side ad insertion using the SSAI plugin (SSAIComponent). Registers a companion-ad container, loads a video by ID with an Ad Config ID, and includes an optional Open Measurement toggle.
| File | Responsibility |
|---|---|
MainActivity.java |
Creates the SSAIComponent, registers the companion-ad container, loads a video by ID with an Ad Config ID query parameter through the Catalog, and hands the video to the plugin for ad stitching. Also wires an error handler and an Open Measurement tracker toggle. |
See the SSAI README for shared setup and requirements.