Provides sample apps for the Brightcove Player SDK and Plugins for Android
View the Project on GitHub BrightcoveOS/android-player-samples
Uses the Brightcove AppCompat plugin to run the player inside AndroidX AppCompat components. A launcher screen lets you choose between the two supported player entry points:
BrightcovePlayerActivityAppCompatActivity that hosts a BrightcovePlayerFragment| File | Responsibility |
|---|---|
MainActivity.kt |
Launcher screen; routes to the Activity or Fragment example. |
AppCompatPlayerActivity.kt |
Player screen extending BrightcovePlayerActivity via the AppCompat plugin. |
FragmentPlayerActivity.kt |
AppCompatActivity that hosts PlayerFragment. |
PlayerFragment.kt |
BrightcovePlayerFragment that loads and plays the sample video. |
See the Playback README for shared setup and requirements.