setVideoPath

abstract fun setVideoPath(path: String): Video

Replaces player content with the video at the specified path.

Return

The created Video object.

Parameters

path

HTTP path to a video


abstract fun setVideoPath(videoPath: String, languageCodeCaptionsMap: Map<String, String>): Video

Replace player content with the video and captions at the specified paths.

Parameters

videoPath

HTTP path to the video

languageCodeCaptionsMap

A map of language code to caption urls.