This a video player for local videos whose main features are:
- Light/dark theme (following system preferences)
- Continue watching from where you left off1
- Keyboard shortcuts
- Global Media Controls integration
- Works offline
To install and use this extension locally, follow these steps:
- Clone the repository
- Navigate to the project directory
- Open the Chrome browser and go to
chrome://extensions/
- Enable Developer mode by ticking the checkbox in the upper-right corner.
- Click on the "Load unpacked" button.
- Select the directory containing your unpacked extension.
To use the extension, click on its tooltip icon or press Alt+Shift+O. This shortcut can be changed by visiting chrome://extensions/shortcuts (you may need to copy and paste this URL in the address bar).
The page shown in the screenshots will open. To open a video, drag and drop it there or click on the button. If another video is opened, its state will be saved and the dragged video will be opened.
The following keyboard shortcuts are supported:
Key | Action |
---|---|
Space K |
Toggle play/pause |
D | Slow down by 0.1x |
S | Speed up by 0.1x |
Z ← ↓ |
Rewind 10 seconds |
X → ↑ |
Forward 10 seconds |
R | Reset default speed |
Not Set | Toggle time/remaining |
M | Toggle mute |
C | Toggle video zoom |
P | Toggle PiP |
F Enter |
Toggle fullscreen |
G | Toggle fullscreen or zoom |
Q | Set speed to 1.7x or reset to 1x |
W | Set speed to 2x or reset to 1x |
E | Set speed to 2.7x or reset to 1x |
R | Set speed to 3x or increase to 4x |
T | Set speed to 4x or reset to 1x |
H | Hide playbar/controls |
U | Toggle video stretching |
CTRL + ↑→↓← | Strech video ↑→↓← slightly |
A | Toggle giant video seeker mode |
a | Toggle small video seeker mode |
V | Toggle preview bar |
While this is a personal project, I'm open to collaboration. If you have suggestions for improvements, please open an issue.
This project is licensed under the MIT License - see the LICENSE file for details.
Footnotes
-
The video state is saved in the browser's local storage. If you clear your browser's data, the state will be lost. Saved state will be deleted upon video completion or for videos last played more than 30 days ago. ↩