HTML5 Video Speed Controls

Simple keyboard controls for HTML5 video speed and frame-stepping

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
lunagus
今日安裝
0
安裝總數
9
評價
0 0 0
版本
1.1
建立日期
2025-11-18
更新日期
2025-11-18
尺寸
6.1 KB
授權條款
未知
腳本執行於
所有網站

HTML5 Video Speed Controls

A lightweight userscript that adds keyboard shortcuts for playback speed and frame stepping on any HTML5 video — works on every site.


🧩 Features

  • 🎚️ Speed control

    • Press X → Slow down by 0.1×
    • Press C → Speed up by 0.1×
    • Press Z → Reset to 1.0×
  • 🎞️ Frame-by-frame control

    • Press Q → Previous frame (auto-pauses)
    • Press E → Next frame (auto-pauses)
  • 🧠 Smart video detection

    • Automatically finds the active video (playing, visible, or largest)
    • Detects dynamically added videos on single-page sites
    • Tooltip overlay shows current speed or action

📦 Installation

  1. Install a userscript manager:

  2. Click below to install or update the script:

👉 Install Script


💻 Usage

Once installed, open any page with an HTML5 <video> element (YouTube, Twitter, Reddit, etc.) and use the keyboard shortcuts:

Key Action Description
X Speed – 0.1× Slower playback
C Speed + 0.1× Faster playback
Z Reset Restore 1.0× speed
Q Prev Frame Step backward one frame (pauses video)
E Next Frame Step forward one frame (pauses video)

A floating tooltip at the top of the screen will briefly show the current speed or frame action.


💬 Feedback

Open an issue or pull request here: https://github.com/lunagus/html5-video-speed-control/issues