Provides sample apps for the Brightcove Player SDK and Plugins for Android
View the Project on GitHub BrightcoveOS/android-player-samples
These samples demonstrate client-side ad insertion with Google IMA through the Brightcove IMA plugin — ad rules (server-scheduled ads), a single VAST tag, ads across a list of players, and IMA combined with Widevine DRM content.
The samples play from the shared Brightcove demo account (5420904993001) and use Google’s sample ad tags. Point the ad tag URL at your own inventory to test real ads.
| Sample | Languages | What it demonstrates |
|---|---|---|
AdRulesIMASampleApp |
Java · Kotlin | Server-scheduled ads via IMA Ad Rules (VMAP). |
BasicIMAVASTSampleApp |
Java · Kotlin | A single VAST ad tag. |
VideoListAdRulesIMASampleApp |
Java · Kotlin | IMA Ad Rules across multiple player instances in a list. |
AdRulesIMAWidevineModularSampleApp |
Java · Kotlin | IMA Ad Rules together with Widevine Modular DRM content. |