A zero dependency HTML5 custom video player
Features
-
Enhanced UI
-
You can fast forword the video using mouse/touchpad by clicking or you can use arrow keys which will fastforword the video by 5s
-
You can use space bar to play and pause
-
You can drag the progress bar to fastforword the video
-
Image previews when hovering over progress bar
-
Full screen option
-
picture in picture
-
mute/unmute buttons
-
pause screen
-
Auto hide of controls when video is playing
html5-video-player.1.mp4
The image preview needs backend to generate the preview images called sprite images. To generate sprite images i have used a python script from this repo https://github.com/flavioribeiro/video-thumbnail-generator
The player currently call an end point to get one such sprite image, in a real scenario we need to automate this process for every video and generate multiple sprite videos for multiple timelines. The player currently doesn't support this.