I have a built-in YouTube video on one page and there is a slider with which I can set the speed of the player.
I am using player.setPlaybackRate(value);
The problem is that I want to vary from 0.5 to 3, but the playerβs API limits the values ββto only the predefined ones [0.25, 0.5, 1, 1.25, 1.5, 2] .
On YouTube, I can easily adjust the speed using document.getElementsByTagName("video")[0].playbackRate = 3 , but on the iframe I do not have this access.
javascript api youtube youtube-api video
Nikolay Kostov Jan 08 '15 at 9:33 2015-01-08 09:33
source share