Playback Speed Control

Add playback speed controls to web players with keyboard shortcuts

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği yüklemek için Tampermonkey gibi bir uzantı yüklemeniz gerekir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

Bu stili yüklemek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için Stylus gibi bir uzantı kurmanız gerekir.

Bu stili yükleyebilmek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı kurmanız gerekir.

Bu stili yükleyebilmek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

(Zateb bir user-style yöneticim var, yükleyeyim!)

Yazar
ZigZagT
Günlük kurulumlar
1
Toplam kurulumlar
122
Değerlendirmeler
0 0 0
Versiyon
2.1.1
Oluşturulma
20.09.2022
Güncellenme
05.03.2026
Boyut
18 KB
Lisans
MIT
Geçerli

Web Player Playback Speed Control

Github

Greasy Fork

How is this different from native Plex clients?

This script was created way before plex announced support for playback speed controls on May 15 2024. Besides, this script supports a few neat features that may make your life a little bit easier. Keep reading :)

Feature comparison with native Plex clients support

This Script Native Plex
More speed options to choose from
(cycle through with ,.<> keys: 0.5, 0.8, 1, 1.2, 1.4, 1.6, 1.8, 2, 2.5, 3, 3, 5, 4, 5, 6, 7, 8, 9, 10, 15, 20
hot key with number keys: 1, 1.5, 2, 3, 4, 5, 7, 8, 10)

(0.5x, 0.75x, Normal, 1.25x, 1.5x, 1.75x, and 2x)
Keyboard shortcuts
(cycle through with ,.<> keys or hot key with number keys, on top of mouse clicking buttons)

(mouse clicking only)
Does not require plex-pass
Support browser clients (incl. iOS devices)
Support non-browser clients

How to use

There're multiple ways to alter the playback speeds:

  1. Use the turtle and rabbit icons in the control strip to slowdown / speedup

Screen Shot 2022-09-19 at 9 24 10 PM

  1. Use < or > or , or . keys on the keyboard to decrease / increase speeds. This control cycles through the following speeds:

    • 0.5, 0.8, 1, 1.2, 1.4, 1.6, 1.8, 2, 2.5, 3, 3, 5, 4, 5, 6, 7, 8, 9, 10, 15, 20
  2. Use number keys (1-9) to quickly set a speed. This control maps the numbers with speeds as follows:

number key mapped to speed
1 1
2 1.5
3 2
4 3
5 4
6 5
7 7
8 8
9 10

How to install

Automated Install and Update in Plex Server

This is the best option if you load the plex web client off your plex server from many different devices & browser profiles.

The following steps assumes the plex server is deployed with linuxserver/plex docker image. Installation for other deployment options should be similar.

Install and update may be automated as follows:

  1. Create a bash script on the server host. For docker deployment, this script will be mounted into plex container as a startup script.
# inject_PlaybackSpeedControl.sh
cd /usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources
wget -O "js/PlaybackSpeedControl.js" "https://raw.githubusercontent.com/ZigZagT/Web-Player-Playback-Speed-Control/master/PlaybackSpeedControl.user.js"
sed -i 's#</head>#<script src="/web/js/PlaybackSpeedControl.js"></script></head>#' index.html
  1. Add execution permission to inject_PlaybackSpeedControl.sh.
chmod a+x inject_PlaybackSpeedControl.sh
  1. Mount inject_PlaybackSpeedControl.sh script into container as start up script:
# docker-compose.yaml
services:
  plex:
    image: linuxserver/plex
    tmpfs:
      - /tmp
    volumes:
      # ... other volumes ...
      - /path/to/inject_PlaybackSpeedControl.sh:/etc/cont-init.d/99-inject_PlaybackSpeedControl.sh
    devices:
      - /dev/dri:/dev/dri
    restart: always

This method keeps the scripts up-to-date whenever the plex server restarts.

Manual Install in Plex Server

The automated script mentioned above essentially performs the following tasks:

  1. Locate the WebClient directory in your Plex Server installation. This path varies depends on the server setup. Taking the plex server docker image provided by linuxserver.io as example, with image linuxserver/plex:1.40.0 the WebClient bundle is located at /usr/lib/plexmediaserver/Resources/Plug-ins-c29d4c0c8/WebClient.bundle/Contents/Resources.
  2. Save the PlaybackSpeedControl.user.js file into the js folder.
  3. Rename the downloaded file, and remove .user part from the file extension. Otherwise some browser user script extensions may mistakenly hijack the script request.
  4. Edit index.html file, add a script tag that points to the script file. The path shuold be prefixed with /web. For example, if script file is stored at js/PlaybackSpeedControl.js, the <script> tag should be <script src="/web/js/PlaybackSpeedControl.js"></script>

The script will not update automatically with this installation.

Install as userscript in Desktop Chrome / Firefox

  1. Install Tampermonkey or any equivalent user script extension in your browser;
  2. Open this link in your browser. The user script extension should automatically prompt for installation.
  3. Future script updates may be checked and installed automatically by user script extension.

Install as userscript in Safari (macOS Desktop or iOS/iPadOS Safari)

  1. Install the Userscripts Safari extension from App Store.
  2. Enable the extension following its instruction. Make sure you have the Save Location setting configured.
  3. Open this link in Safari, and save the file to the Save Location of your choice.
  4. Future script updates may be checked and installed automatically by the Userscripts app.