Radiant Media Player

Playback rate



Documentation sections


Playback rate tuning

You can easily provide your audience with playback rate change options, thanks to our intuitive playback rate player module. For more advanced use-cases our player API will let you build a custom user experience. The playback rate module is only available for video content (e.g. not for audio-only player) but the playback rate API can be used with the audio-only player as well.


Player settings

nav: Boolean

Activate or not the playback rate module. Default: false.
On Android, playback rate changes are only supported for Firefox 47+ and Chrome 52+

navRates: Array

Set the playback rate available values to be used by the playback rate module. Must be submitted as an array of numbers. Default: [0.25, 0.5, 1, 1.5, 2, 4].


Playback rate API

Playback rate API events

ratechange fires when the playing speed of the video is changed.

Playback rate API methods

getPlaybackRate()
rmp.getPlaybackRate();

This method returns a Number representing the current playback rate. -1 is returned if this value is not available.

setPlaybackRate(rate)
rmp.setPlaybackRate(2);

This method will change the player playback rate to the Number set as input parameter. Decent values for playback rate ranges from 0.25 to 4 and can be increment by 0.1. Values outside this range may cause playback issues in some browsers.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License.