Skip to content

dltmtt/video-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Player for local videos

Available in the Chrome Web Store

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

Screenshot of the welcome screen Screenshot of the player

Background

I always download my lessons and watch them offline. I generally speed them up above 2x, and QuickTime Player doesn't allow me to do that. I also didn't like writing down where I left off. I tried a few video players, but they all had some issues or I didn't like their UI, so I decided to make my own as a browser 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
S Slow down by 0.1x
D Speed up by 0.1x
Z

Rewind 10 seconds
X

Forward 10 seconds
R Reset default speed
T Toggle time/remaining
A Set speed to 1.8x
M Toggle mute
C Toggle video zoom
P Toggle PiP
F
Enter
Toggle fullscreen

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.