Skip to content

Instantly share code, notes, and snippets.

@eyeinsky
Created October 25, 2020 19:38
Show Gist options
  • Save eyeinsky/f84416023845fbfc016a26ec6bea2c29 to your computer and use it in GitHub Desktop.
Save eyeinsky/f84416023845fbfc016a26ec6bea2c29 to your computer and use it in GitHub Desktop.
+/- 10% video speed
// -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