Player

Public Method Summary

Methods

Parameters

play(), pause(), mute(), stop()

Methods for controlling the player

changePlaybackRate(rate:number): void

Change the Player play back rate

rate - the new rate for player speed.

getCurrentPosition(): number

Getting the player current timeline position

isPlaying(): boolean

fastSeekToPosition(position: number): void

position - The position on the timeline to which the player should try to jump

setVolume(volume: number): void

Program change volume rate.

volume - new volume rate between 0 and 1.

Extending the SDK to unsupported players

The synchronization SDK requires compatibility with the interface below. The purpose of this interface is to allow you to extend the use of the SDK to the various unsupported player, as long as those players support the actions described in the SDK.

Client {
  pause()
  changePlaybackRate(rate)
  play()
  stop()
  mute()
  getCurrentPosition()
  isPlaying()
  fastSeekToPosition(position)
  setVolume(volume)
}

Please have a look at our implementation of the HTML player here.

Support

Need technical support? contact us at [email protected].

Last updated

Was this helpful?