Available properties

PropertyDescriptionExample
getStatus()Get video status number code:
- -1: video is still loading
- 0: ready to play
- 1: playing
- 2: paused
- 3: ended
player.getStatus()
getStatusText()Get video status text (loading/loaded/playing/paused/ended)player.getStatusText()
getCurrentTime()Get current time of the video (in seconds)player.getCurrentTime()
getTotalPlayedTime()Get total seconds while video is playingplayer.getTotalPlayedTime()
getMuted()Check if video is muted (true/false)player.getMuted()
getVolume()Get volume level (0-100)player.getVolume()
getIsBuffering()Check if video is buffering (true/false)player.getIsBuffering()
getPlaybackRate()Get current played quality (e.g., 720, 480, 240, 144)player.getPlaybackRate()
getIsAdaptive()Check if video is on (auto) adaptive mode (true/false)player.getIsAdaptive()
getAspectRatio()Get video aspect ratio (e.g., 1.78 for 16:9)player.getAspectRatio()
getDuration()Get total duration of the video (in seconds)player.getDuration()