Playback Rate Shortcuts

Adds shortcuts ("Ctrl + <" / "Ctrl + >") to control a video's playback. Can go beyond 2x and 0.25x.

As of 2023-07-25. See the latest version.

Author
endorh
Ratings
0 0 0
Version
1.0
Created
2023-07-25
Updated
2023-07-25
Size
6.65 KB
License
MIT
Applies to
All sites

Adds global shortcuts to modify a video's playback rate.

Features:

  • Can set playback rate beyond 2x and 0.25x
  • Displays an overlay with the new playback rate over the video
  • Works on any website with a video element (if there are multiple, only the first is used)

Shortcuts (depending on your keyboard, these may require you to also press Shift):

  • Press Ctrl + < to decrease playback rate
  • Press Ctrl + > to increase playback rate

Some settings can be configured modifying the header of the script:

  • Playback rate steps used (..., 0.5, 0.75, 1, 1.25, 1.5, ...)
  • Fadeout time of the overlay (350ms)
  • Overlay CSS style
  • Debug messages and warnings
  • Disable overlay entirely (in case a webpage doesn't like injected elements)

Limitations:

  • If there are multiple video elements in a page, only the first is used
  • Most browsers don't support speeds faster than 15x nor slower than 0.1x
  • Audio quality at slow speeds is usually bad
  • Depending on the webpage structure (video inside embedded iframe), you may need to focus the video in order to use the shortcuts

Tested on YouTube and some JW player sites.