Skip to content

Instantly share code, notes, and snippets.

@kaustavha
Last active January 15, 2026 16:06
Show Gist options
  • Select an option

  • Save kaustavha/a477cc35de82068eb0869b674a92b27d to your computer and use it in GitHub Desktop.

Select an option

Save kaustavha/a477cc35de82068eb0869b674a92b27d to your computer and use it in GitHub Desktop.
Increase playback speed on any video
document.querySelector('video').playbackRate = 1.5
  • Videos on any page using a video tag. Youtube, vimeo etc

  • (Right click/2 finger click on mac -> inspect element); on the video to reveal the <video></video> tag, otherwise you might get a var v = document.querySelector('video'); var t = prompt('Set the playback rate'); v.playbackRate = parseFloat(t) err.

  • Paste this into the console (go to console from the window that pops up from inspect element or cmd + option + i):

var v = document.querySelector('video'); 
var t = prompt('Set the playback rate'); 
v.playbackRate = parseFloat(t)
  • Enter a speed, e.g. 1.5 for 1.5x or 2 for 2x and enjoy.
@leon61ukr
Copy link

leon61ukr commented Jan 15, 2026

<3
Youtube Premium - nice try to block this, maybe in next life I will pay for free stuff

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