addVideo

fun addVideo(video: ArcVideoStream?)

Add a video to the player that will be played after the last video is played. This effectively creates a playlist or adds a video to the end of an existing playlist.

Parameters

video

Video to be added

Throws

ArcException

fun addVideo(video: ArcVideoStream?, adUrl: String?)

Add a video and a corresponding ad to be played after the last video is played. Works the same as .addVideo with the addition of an ad url.

Parameters

video

Video to be added.

adUrl

Ad to be played with the video

Throws

ArcException