Methods
To call a method or to receive information from the player, just use the player instance to call them.
Available Methods
Player controls
fullscreen
-
exitfullscreen
-
enableControls
-
disableControls
-
destroy
-
getVersion
-
load
string
Loads a new dataid
Media controls
play
-
pause
-
unmute
-
mute
-
volume
Integer [0.1..1]
Sets the volume. E.g. for 50% volume use 0.5
seek
Integer
getVideoInfo
getCurrentTime
getDuration
getStreamType
getLiveDelayInSeconds
getProcessingStatus
Boolan
VoD only: method to check, if the video is already transcoded
Subtitles / Captions
getSubtitles
Object
subtitle
Integer
AudioTracks
getAudioTracks
Object
audiotrack
Integer
Ads
requestAd
String
Triggers a midroll. Pre- and PostRolls will still be called anyway. requestAd() or requestAd(url) if specifying an ad tag url.
Sidebar
setSideBarHTML
String
showSideBar
showSideBar
Playlists
next
Plays the next item in the playlist
previous
Plays the previous item in the playlist
getPlaylistItems
Retrieves a list of all playlist items
PlaylistItem
Number
Sets the current active Playlist Item to given ID
Last updated