Published
- 1 min read
how to set video speed html
The solution for this is noted below
how to set video speed html
Solution
/* play video twice as fast */ document.querySelector('video').defaultPlaybackRate = 2.0;
document.querySelector('video').play(); /* now play three times as fast just for the heck of it */
document.querySelector('video').playbackRate = 3.0;
Try other methods by searching on the site. That is if this doesn’t work