Skip to content

Instantly share code, notes, and snippets.

@mooz
Last active October 15, 2021 04:19
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 mooz/271ac3fb768501731feb6a7030661f9d to your computer and use it in GitHub Desktop.
Save mooz/271ac3fb768501731feb6a7030661f9d to your computer and use it in GitHub Desktop.
Bookmarklet for changing video playback speed on iPad/iPhone

Installation

In your browser (e.g., Safari),

  1. Add a dummy bookmark and name it Change playback speed (1.5x)
  2. Change the URL of the bookmark to javascript:(function()%7Bvar%20video%20%3D%20document.querySelector(%22video%22)%3B%20if%20(video)%20%7B%20video.playbackRate%20%3D%201.5%3B%20%7D%7D)()

Usage

On website playing a video, click 1.5x in your bookmarks.

Variants

  • 1.5x
    • javascript:(function()%7Bvar%20video%20%3D%20document.querySelector(%22video%22)%3B%20if%20(video)%20%7B%20video.playbackRate%20%3D%201.5%3B%20%7D%7D)()
  • 1.7x
    • javascript:(function()%7Bvar%20video%20%3D%20document.querySelector(%22video%22)%3B%20if%20(video)%20%7B%20video.playbackRate%20%3D%201.7%3B%20%7D%7D)()
  • 2.0x
    • javascript:(function()%7Bvar%20video%20%3D%20document.querySelector(%22video%22)%3B%20if%20(video)%20%7B%20video.playbackRate%20%3D%202.0%3B%20%7D%7D)()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment