ashishb.net

Technology, books, travel, and linguistics

html

#all #Programming

How to speed up HTML5 videos

Some video streaming websites like YouTube provides an option for speeding up/slowing down videos; some don’t. The trick is simple, find out the Video object via document.querySelector("video") and then set its playbackRate property to the desired value document.querySelector("video").playbackRate = 2.0; […]