Skip to content

Instantly share code, notes, and snippets.

@vitorpiovezam
Created March 12, 2019 22:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vitorpiovezam/1b5de444fed60d789e2e51044e598ef1 to your computer and use it in GitHub Desktop.
Save vitorpiovezam/1b5de444fed60d789e2e51044e598ef1 to your computer and use it in GitHub Desktop.
Alter playback rate on yt or other sites videos
// Vanilla JS
document.getElementsByTagName('video').playbackRate = 5;
@tony13tv
Copy link

tony13tv commented Mar 12, 2019

@vitorpiovezam an improvement:
document.getElementsByTagName('video')[0].playbackRate = 1.1;

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