Last active
February 27, 2019 19:38
-
-
Save Markieta/b0424cc8efaed8635d7a4a111847d6ad to your computer and use it in GitHub Desktop.
Increase playback rate of all audio and video elements in an HTML document.
This file contains hidden or 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
for (let media of document.querySelectorAll("audio,video")) { media.playbackRate = 2 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment