player methods can handled over javascript e.g.:
var js3qVideoPlayer;
(function () {
... // player code here
})();
js3qVideoPlayer.play(); // Calls method
Method | Description | |
---|---|---|
pause | pauses video | |
play2 | plays video | |
seek | in seconds | seeks to position |
getCurrentTime | current position | |
getDuration | video length | |
getVolume | 0.1 to 1.0 | get volume |
setVolume | 0.1 to 1.0 | get volume |
getSubtitles | array of available subtitles | |
setSubtitles | set subtitle by index | |
getAudioTracks | array of available audiotracks | |
setAudioTrack | set audiotrack by index | |
hideControlbar | hides player controls | |
mute | mutes video | |
unmute | unmutes video | |
getLiveDelayInSeconds | ||
getPlaybackTime | get current viewing time (pageview) | |
getFullPlaybackTime | get full playback time (user and video) | |
showSideBarInfoIcon | displays the sidebar info icon (top-right) | |
showSideBar | displays the sidebar | |
hideSideBar | hides the Sidebar | |
setSideBarHTML | sets the HTML of the sidebar | |
fullscreen | ||
exitfullscreen |
Back to index.