Created
August 21, 2022 03:04
-
-
Save richardnfag/5a7dc851df0b45482c6d495a34842d2a to your computer and use it in GitHub Desktop.
Youtube Video Play Back Rate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const youtube_speed = (speed) => [ | |
...document.getElementsByClassName("video-stream html5-main-video") | |
].forEach( | |
(v) => v.playbackRate = speed | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment