Player JavaScript API

This news concerns mostly developers who use our platform for customer’s busyness ideas. At the end of 2019 we renewed Player JavaScript API.

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

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

Actions you can pass into the player:

  • 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 a last time.
  • previous - set previous video in playlist.
  • next - Set next video in playlist.
  • fullScreen - Full screen mode.