Simple H5Player Controller

Control HTML5 video players: custom hotkeys, save progress, sync settings globally with smart speed memory.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
xyseer
今日安裝
1
安裝總數
9
評價
0 0 0
版本
1.2
建立日期
2026-07-14
更新日期
2026-07-18
尺寸
13.6 KB
授權條款
MIT
腳本執行於
所有網站

Simple H5Player Controller

A simple user script that gives you universal control over almost any HTML5 video player across the web. It features global settings synchronization, frame-by-frame seeking, progress resuming, and performance-friendly state management.

Features

  • Global Settings Sync: Automatically remembers your preferred playback speed and volume, applying them to any video you open across different websites.
  • Resume Progress: Remembers where you left off in a video and automatically jumps back to that timestamp on reload.
  • Frame-by-Frame Seeking: Jump forward or backward frame-by-frame (customizable FPS).
  • Smart Hotkeys: Granular control over speed, volume, and time without needing to click the player.

Installation

  1. Install a user script manager like Tampermonkey or Violentmonkey for your browser.
  2. Click or copy the script into your script manager.

Keyboard Shortcuts

  • C / X: Increase / Decrease playback speed by 0.1x (Max 16x, Min 0.1x).
  • Z: Quick-toggle between normal speed (1.0x) and your last modified speed.
  • 1 to 6: Instantly switch playback speed to 1x, 2x, 3x, 4x, 5x, or 6x.
  • D / F: Seek backward / forward by a single frame (based on your configured FPS).
  • Arrow Left / Arrow Right: Seek backward / forward by 5 seconds.
  • Shift + Arrow Left/Right: Seek backward / forward by 90 seconds.
  • Arrow Up / Arrow Down: Increase / Decrease volume by 10%.

(Note: Shortcuts are automatically disabled when you are typing in an input field, search bar, or text area to prevent accidental triggers.)

Configuration & Menu Options

  • Toggle Auto-Play: Turn automatic video playback on or off.
  • Toggle Global Volume Sync: Turn global volume memory on or off.
  • Toggle Global Speed Sync: Turn global speed memory on or off.
  • Toggle Restore Progress: Turn the video resume feature on or off.
  • Set Frame Rate (FPS): Configure the FPS used for the D and F frame-seeking hotkeys (default is 30 FPS).

Excluding Specific Websites

If you don't want the script to run on certain websites (like YouTube, which has its own robust hotkeys), you can add an @exclude rule to the metadata at the top of the script. Or add excluding rule with your script manager.

License

This project is licensed under the MIT License.