A Chrome extension that adds custom controls (play, pause, rewind, forward, and volume) to all <video> elements on any website. The extension replaces the default browser video controls with a modern, floating UI and custom SVG icons.
- Custom Play/Pause Button: Uses SVG icons for play and pause.
- Restart Button: Instantly jump back to the beginning of the video with a single click.
- Rewind & Forward: Jump 5 seconds backward or forward.
- Volume Slider: Adjust the video volume directly from the custom controls.
- Fullscreen Toggle: Enter and exit fullscreen mode with a dedicated button that shows the appropriate icon for each state.
- Playback Speed Button: Change the video playback speed with a dedicated button (left-click to increase, right-click to decrease).
- Interactive Progress Bar: Drag and control the current playback position with a fully interactive progress bar.
- Auto-Hide Controls: Controls automatically minimize to show only the progress bar when not in use, expanding on hover.
- Modern Design: Sleek floating UI with custom red-themed progress indicators and consistent button styling.
- Works Everywhere: Injects controls into all videos on all websites.
- SPA Support: Uses MutationObserver to handle dynamically loaded videos.
- Go to the Chrome Web Store and search for "Video Custom Controls".
- Or directly access: Video Custom Controls
- Click "Add to Chrome" to install the extension.
- Open any website with a video.
- The default controls will be hidden and replaced by the custom controls.
- Hover over the video to expand the full control panel.
- Use the restart, play/pause, rewind, forward, volume slider, fullscreen, and speed buttons as needed.
- Click the fullscreen button to toggle fullscreen mode.
- Left-click the speed button to increase playback speed, right-click to decrease.
- The controls automatically minimize to a slim progress bar when your cursor moves away.
video-custom-controls/
├── assets/
│ ├── play-circle.svg
│ ├── stop-circle.svg
│ ├── skip-start-circle.svg
│ ├── rewind-circle.svg
│ ├── fast-forward-circle.svg
│ ├── fullscreen.svg
│ └── fullscreen-exit.svg
├── content.js
├── styles.css
├── manifest.json
└── README.md
- assets/: SVG icons for the controls.
- content.js: Injects and manages the custom controls.
- styles.css: Styles for the custom controls UI.
- manifest.json: Chrome extension manifest.
MIT