Created
May 5, 2020 06:41
-
-
Save iHTCboy/cca9f743e80844af84d647926573b01d to your computer and use it in GitHub Desktop.
web视频加速倍速快进播放
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
var videos = document.querySelectorAll("video"); | |
for (var video of videos) { | |
video.playbackRate = 1.5; | |
} | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment