getPlaybackRate
Description
Returns the current playback rate. 1
for normal playback, 2
when
playing at double the speed, etc.
Example
const currentPlaybackRate = player.getPlaybackRate();
console.log(`Playing at a x${currentPlaybackRate}} speed`);
Syntax
const rate = player.getPlaybackRate();
- return value
number