This repository contains implementations of the SVSContentPlayerPlugin
interface needed by Smart Android Instream SDK
for some majors content video SDKs for Android :
- ExoPlayer
- JWPlayer *
- Brightcove
- Ooyala
- Android legacy VideoView
They connect the Smart Android Instream SDK with the corresponding content player on which the ad is to be displayed.
Broadly speaking, they respond to callbacks (typically adBreakStarted
and adBreakEnded
methods when the content needs to be paused),
provide playback information (getContentDuration
, getCurrentPosition
, isPlaying
) to the instream SDK and also return the ViewGroup
containing the content player for proper ad display on top.
⃰Note that the JWPlayer SDK is currently supported up to 3.19.0 version through the SVSJWPlayerPlugin. For legacy JWPlayer version 2.x, please use a previous plugin release.
- A Smart AdServer account
- Android Studio 3.0 or higher
- Android 4.4 (API Level 19) or higher
- For each plugin, the corresponding content player SDK needs to be imported in the application
For installation and getting started, please check the complete documentation. You can also check the samples.