Skip to content

Instantly share code, notes, and snippets.

@panzi
Last active May 24, 2017 10:59
Show Gist options
  • Save panzi/320457ed5ddbd8f6256eb2c6478e5ef1 to your computer and use it in GitHub Desktop.
Save panzi/320457ed5ddbd8f6256eb2c6478e5ef1 to your computer and use it in GitHub Desktop.
Change media speed.

Create a new bookmark and set the URL to the javascript:-URL of the speed you want. Click that link when you want to set a video's (or audio's) speed. In principle it works with Twitch VODs when using the HTML5 player, but Twitch seems to send data to slow for 2x. 1.5x seems to work for me.

Speed URL
0.5x javascript:document.querySelectorAll("audio,video").forEach(e=>e.playbackRate=0.5);void(0)
1x javascript:document.querySelectorAll("audio,video").forEach(e=>e.playbackRate=1);void(0)
1.25x javascript:document.querySelectorAll("audio,video").forEach(e=>e.playbackRate=1.25);void(0)
1.5x javascript:document.querySelectorAll("audio,video").forEach(e=>e.playbackRate=1.5);void(0)
2x javascript:document.querySelectorAll("audio,video").forEach(e=>e.playbackRate=2);void(0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment