Player JavaScript API

updates
Api
player

January 24, 2020

This news concerns mostly developers who use our platform for their customers' business ideas. At the end of 2019, we renewed our Player JavaScript API.

Now you can adjust player controls according to events that occur on your site.

You can also track visitor activity on the page with the Boomstream player using the property: window.onfocus.

Actions you can pass into the player

Action Description
play Start playback
pause Set pause
seek Seek to a time moment (time is in seconds)
mute Disable sound
unmute Enable sound
volume Setup volume (volume is in percent)
useLastTime Start playback from the last watched time
previous Go to previous video in playlist
next Go to next video in playlist
fullScreen Enter full screen mode