DEV Community

loading...

Gotta Go Fast: Playing YouTube Videos Faster

thehandsomezebra profile image Stephanie Lage Frantz Originally published at readthis.info ・2 min read

Do you enjoy consuming your media at 3x or 4x speed and you're bummed that you can only speed up your YouTube videos up to 2x?
Many people choose learning in an online, self-paced environment. I find myself frequently diving into training at 2.5x or 3x speed -- and I've found it dissapointing that YouTube tops out at only 2x speeds.

This Chrome Bookmarklet will help you speed up your YouTube video beyond the 2x speed limit!

Gotta Go Fast

This is a Bookmarklet for Chrome and may not be suitable in other browsers. Your mileage may vary.

  1. Right click on the bookmark bar.
  2. Click "Add page..."
  3. Name: "Play 3X Speed"
  4. In the URL bar, paste this:
javascript:(function(){document.getElementsByTagName("video")[0].playbackRate = 3})();
Enter fullscreen mode Exit fullscreen mode

2021-02-03_19h58_12.png

  1. Click Save.
  2. Next time you watch a youtube video, click this bookmark and it'll speed up to 3X.

If you'd like a different variable, you can change the playbackRate = number to something other than 3. You can try .25 or .5 increments, too!

Alternatives

If you like this idea, but you'd like a little more flexibility, you can use this code to ask for a prompt:

javascript:(function(){document.getElementsByTagName("video")[0].playbackRate = prompt("Please enter the speed you wish to watch the video", "1")})();
Enter fullscreen mode Exit fullscreen mode

Other Notes

The YouTube video GUI will not update with the new speed, but as soon as you adjust it to a different value, it will return to normal functionality.

😃 I hope this helps someone out there who likes to go fast!

Discussion (2)

pic
Editor guide
Collapse
inhuofficial profile image
InHuOfficial • Edited

Sometimes something so simple can really be a game changer. I have taught myself to consume content at 2x speed and sometimes I could go faster, this now lets me do that (and how I didn't think of it before is just frustrating!)

One simple improvement is to pass the current playback speed into the prompt and that way it displays the current speed you have it set to when you try to change it (useful for fine tuning when you go over 2 as you can't see the current speed in the GUI as you said!). The following corrects for that.

javascript:(function(){document.getElementsByTagName("video")[0].playbackRate = prompt("Please enter the speed you wish to watch the video", document.getElementsByTagName("video")[0].playbackRate)})();
Enter fullscreen mode Exit fullscreen mode
Collapse
thehandsomezebra profile image
Stephanie Lage Frantz Author

Nice!! That's perfect!