android-player-samples

Provides sample apps for the Brightcove Player SDK and Plugins for Android

View the Project on GitHub BrightcoveOS/android-player-samples

Playback

These samples show how to play Brightcove Video Cloud content with the Brightcove Player SDK — from the minimal setup up through live, 360, audio-only, Picture-in-Picture, and thumbnail scrubbing, plus a few Android-specific playback samples.

Requirements

Setup

Most samples play from the shared Brightcove demo account (5420904993001); the 360 video and audio-only samples use their own demo accounts. The live sample ships with a placeholder URL — live streams are ephemeral, so supply your own Live/DVR HLS URL and publisher id in the source before running it.

Samples

Sample Languages What it demonstrates
BasicSampleApp Java · Kotlin Minimal playback — a BrightcoveExoPlayerVideoView playing a catalog video.
VideoListSampleApp Java · Kotlin Multiple player instances in a scrolling RecyclerView (video list / playlist).
LiveSampleApp Java · Kotlin HLS Live and Live DVR playback. Requires a developer-supplied Live/DVR URL.
360VideoSampleApp Java · Kotlin 360° video with touch and gyroscope navigation.
AudioOnlySampleApp Java · Kotlin Audio-only assets with a background playback notification.
PictureInPictureSampleApp Java · Kotlin Picture-in-Picture mode (Android 8.0+, phone/tablet).
ThumbnailScrubberSampleApp Java · Kotlin Thumbnail previews while scrubbing the seek bar.
TextureViewSampleApp Java · Kotlin Rendering into a TextureView instead of the default SurfaceView. Android-specific.
AppCompatSampleApp Java · Kotlin The AppCompat plugin, shown through both an Activity and a Fragment entry point. Android-specific.
BumperSampleApp Java · Kotlin Playing a bumper video ahead of the main content. Android-specific.