Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

how to set video speed html

/* 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;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #video #speed #html
ADD COMMENT
Topic
Name
7+7 =