Skip to content

This chrome extension is a video player for local videos with a variety of different features, check out the README to learn more.

License

Notifications You must be signed in to change notification settings

AbdulDevHub/Local-Video-Player

Repository files navigation

Player for local videos

Extension Screenshot

Overview

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

Setup

To install and use this extension locally, follow these steps:

  1. Clone the repository
  2. Navigate to the project directory
  3. Open the Chrome browser and go to chrome://extensions/
  4. Enable Developer mode by ticking the checkbox in the upper-right corner.
  5. Click on the "Load unpacked" button.
  6. Select the directory containing your unpacked extension.

Usage

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.

Keyboard shortcuts

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

Contributing

While this is a personal project, I'm open to collaboration. If you have suggestions for improvements, please open an issue.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Footnotes

  1. 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.

About

This chrome extension is a video player for local videos with a variety of different features, check out the README to learn more.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published