playVideo

open override fun playVideo(videoId: String, libraryId: Long? = null, videoTitle: String = "", token: String? = null, expires: Long? = null)(source)

Plays a video and fetches additional info, e.g. chapters, moments and subtitles

Parameters

videoId

Video ID

libraryId

Library ID, falls back to the default library ID if null

videoTitle

Video title used for analytics/casting; not shown by the controls

token

Embed view token for authenticated playback on token-secured pull zones

expires

Embed view token expiration timestamp