init Media
Initialize the player with a media object
Return
Media player instance
Parameters
ArcVideo object
Throws
Initialize the player with a media object
Return
Media player instance
Parameters
ArcVideoStream object
Throws
Initialize the player with a virtual channel url
Return
Media player instance
Throws
Initialize the player with a media object and an ad URL. This will play the video with the ad.
Return
Media player instance
Parameters
ArcVideoStream object
ad url string
Throws
Initialize the player with a list of media objects. The objects will be played consecutively.
Return
Media player instance
Parameters
List of ArcVideoStream objects
Throws
Initialize the player with a list of media objects and list of corresponding ad urls. Each ad URL will be associated with its corresponding video based upon order in the list. videos0 will associate with adUrls0, videos1 will be associated with adUrls1, etc.
Return
Media player instance
Parameters
List of ArcVideoStream objects
List of ad url strings