Skip to content

Android Smart-Instream-SDK plugins

Notifications You must be signed in to change notification settings

smartadserver/smart-instream-android-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Smart AdServer — Android Instream SDK Content Player Plugins

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.

Requirements

  • 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

Installation

For installation and getting started, please check the complete documentation. You can also check the samples.