Skip to content

Instantly share code, notes, and snippets.

@markadamfoster
Created February 1, 2019 05:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markadamfoster/45e640ea140330cce2e0da46cdf19b43 to your computer and use it in GitHub Desktop.
Save markadamfoster/45e640ea140330cce2e0da46cdf19b43 to your computer and use it in GitHub Desktop.
Update video playback speed for Vimeo, etc
// thanks to Kyle Shevlin (https://twitter.com/kyleshevlin)
const videos = [...document.querySelectorAll('video')]
videos.forEach(video => {video.playbackRate = 1.5})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment