A lightweight video enhancement script focusing on core features: speed, volume, picture, and playback control.
Author: aezi zhu (github.com/aezizhu)
A lightweight userscript focused on providing core playback and picture enhancement features via hotkeys. It has no extra UI, offering a pure and efficient online video viewing experience.
This script is a stable, lightweight, and powerful control center for web videos.
<video> and <audio> elements.This guide will walk you through how to use the script effectively.
Once installed, the script works automatically. Simply navigate to any webpage containing an HTML5 video. To activate the controls, hover your mouse cursor over the video player. All controls are activated by keyboard shortcuts.
Most actions (like changing speed or volume) will show a small, temporary confirmation message on the screen, so you know your command has been received.
Here are a few examples of how you might use the script in real situations:
Scenario 1: Watching a Lecture or Tutorial
You're watching a long online course. The speaker is a bit slow, and you want to speed things up. You also need to occasionally jump back to review a concept.
C key repeatedly until you find a comfortable speed (e.g., 1.5x). The current speed will be displayed on screen.X key to slow it down.Z key to instantly return to the normal 1.0x speed.← key to go back 5 seconds. For a bigger jump, press Ctrl + ← to go back 30 seconds.Scenario 2: Fixing a Dark or Quiet Video
You're trying to watch a video that was recorded in low light, and the audio is very quiet.
W key. The video will become brighter. If it's still too dark, press it again.R to increase the contrast.↑ key to increase the volume. You can go past the website's 100% limit, up to 200%.Scenario 3: Multitasking or Immersive Viewing
You want to keep an eye on a video while working in another window, or you want to get rid of all browser distractions.
Shift + P. The video will pop out into a small, floating window that stays on top of all your other applications. You can drag it anywhere on the screen.Shift + Enter. This makes the video fill the entire browser window, hiding other parts of the webpage.Enter. This makes the video fill your entire monitor.Here is the complete list of available shortcuts.
| Hotkey | Function |
|---|---|
Space |
Toggle Play/Pause |
→ |
Seek Forward 5 seconds |
← |
Seek Backward 5 seconds |
Ctrl + → |
Seek Forward 30 seconds |
Ctrl + ← |
Seek Backward 30 seconds |
F |
Next Frame (when paused) |
D |
Previous Frame (when paused) |
| Hotkey | Function |
|---|---|
C |
Increase Speed by 0.1x |
X |
Decrease Speed by 0.1x |
Z |
Reset Speed to 1.0x |
1, 2, 3, 4 |
Set speed directly to 1x, 2x, 3x, 4x |
| Hotkey | Function |
|---|---|
↑ |
Increase Volume by 5% |
↓ |
Decrease Volume by 5% |
Ctrl + ↑ |
Increase Volume by 20% |
Ctrl + ↓ |
Decrease Volume by 20% |
| Hotkey | Function |
|---|---|
W / E |
Increase / Decrease Brightness |
R / T |
Increase / Decrease Contrast |
Y / U |
Increase / Decrease Saturation |
I / O |
Increase / Decrease Hue |
J / K |
Increase / Decrease Blur |
S |
Rotate picture by 90 degrees |
M |
Flip horizontally (mirror) |
Shift + M |
Flip vertically (mirror) |
| Hotkey | Function |
|---|---|
Enter |
Toggle Browser Fullscreen |
Shift + Enter |
Toggle Web Fullscreen |
Shift + P |
Toggle Picture-in-Picture (PiP) |
Shift + S |
Take a screenshot of the video |
Shift + D |
Download the media file (experimental) |
This project is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) License.
The author is aezi zhu (github.com/aezizhu).
In simple terms, this means:
This script is provided "as is", without warranty of any kind, express or implied. The author is not liable for any claim, damages or other liability arising from, out of or in connection with the software or the use or other dealings in the software.