Skip to content

Instantly share code, notes, and snippets.

@adamturtle
Last active March 10, 2017 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamturtle/801d9430125e394a4f5bbfb2d1622a86 to your computer and use it in GitHub Desktop.
Save adamturtle/801d9430125e394a4f5bbfb2d1622a86 to your computer and use it in GitHub Desktop.
A bookmarklet to set the speed of any HTML5 video (Youtube, Laracasts, etc)
javascript:!function(){function c(b){a.playbackRate=parseFloat(b)}let a=document.getElementsByTagName("video")[0],b=a.playbackRate;c(prompt("Enter playback speed",null===b?1.5:b))}();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment