Skip to content

Instantly share code, notes, and snippets.

@AJamesPhillips
Last active October 1, 2020 13:21
Show Gist options
  • Save AJamesPhillips/5b78c32d8b2f878c8cf87f80d89b3578 to your computer and use it in GitHub Desktop.
Save AJamesPhillips/5b78c32d8b2f878c8cf87f80d89b3578 to your computer and use it in GitHub Desktop.
Speed up videos

Add the following code as a bookmark:

javascript: var videos = Array.from(document.getElementsByTagName('video')); var v = document.querySelector('video');  if (v) videos.push(v);  var t = parseFloat(prompt('Set the playback rate')); videos.forEach(v => v.playbackRate = t);

Then click it to set the video playback speed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment