HTML5 Video Speed Controls

Simple keyboard controls for HTML5 video speed and frame-stepping

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
lunagus
日安装量
0
总安装量
10
评分
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