Created
October 25, 2020 19:38
-
-
Save eyeinsky/f84416023845fbfc016a26ec6bea2c29 to your computer and use it in GitHub Desktop.
+/- 10% video speed
This file contains 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
// -10% | |
javascript:(() => { | |
let speed = [...document.querySelectorAll('audio,video')].filter(v => v.currentTime > 0)[0].playbackRate -= .10; | |
console.log('video speed', speed); | |
})() | |
// +10% | |
javascript:(() => { | |
let speed = [...document.querySelectorAll('audio,video')].filter(v => v.currentTime > 0)[0].playbackRate += .10; | |
console.log('video speed', speed); | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment