A modern, responsive YouTube-style video streaming platform built entirely with HTML5, CSS3, and Vanilla JavaScript (ES6+). Fully functional with client-side LocalStorage persistence, custom HTML5 video controls, dynamic playlist management, category editor, data backup/restore, and a dark/light theme engine.
- Custom responsive controls with auto-hiding (3s inactivity timer).
- Draggable seek bar with hover timestamp tooltips and buffered range indicators.
- Smooth volume slider and one-click mute/unmute.
- Playback Speeds:
0.25x,0.5x,0.75x,1x (Normal),1.25x,1.5x,1.75x,2x. - Theatre Mode and Fullscreen Mode (HTML5 Fullscreen API).
- Previous & Next Video navigation controls with playlist/queue looping.
- Autoplay Toggle with 3-second countdown toast on completion.
- Keyboard Shortcuts:
Space/K: Play / PauseLeft/RightArrow (J/L): Seek backward / forward 10 secondsUp/DownArrow: Volume up / down 10%M: Mute / UnmuteF: Fullscreen modeT: Theatre mode
- Automatically tracks watch positions and progress percentages.
- Continue Watching carousel on the homepage with live progress indicators.
- Automatic playback resume from the last saved second.
- History management view with single-video removal and clear-all confirmation.
- Instant one-tap video bookmarking to Favorites.
- Create and organize custom playlists with titles and descriptions.
- Direct Video Addition: Add videos to playlists directly from the playlist detail view.
- Reorder videos up/down or remove videos with live UI updates.
- Dynamically manage categories in the Admin Panel (
#/admin):- Add Category: Create custom content categories.
- Rename Category: Renames the category and automatically migrates all associated videos.
- Delete Category: Safely deletes categories and reassigns affected videos.
- Automatically updates homepage filter chips, search filters, and sidebar links.
- Export Backup: Download your entire VELPLAY library, categories, playlists, history, and preferences as
velplay-backup.json. - Import Backup: Upload and restore previous backups with JSON validation and confirmation dialogs.
- Accessible from both the topbar header and the Admin Dashboard.
- Complete CSS variable design system for both dark and light modes.
- Restores user theme preferences automatically on startup.
- Dynamic theme switcher button in the topbar navigation.
- Password-protected management dashboard (default password:
velplay2024). - Add, edit, and delete videos with confirmation dialogs.
- Supports both remote video URLs and local video/image uploads (via
URL.createObjectURLandFileReader).
No build tools or npm dependencies required! Simply open index.html in any modern web browser:
# Clone the repository
git clone https://github.com/meerrahil321/velplay.git
# Navigate into the project
cd velplay
# Start a local static server
python3 -m http.server 8080
# or
npx serve .Visit http://localhost:8080 in your browser.
- HTML5: Semantic tags, HTML5 Video API, Fullscreen API
- CSS3: CSS Custom Properties (Variables), Flexbox, CSS Grid, Media Queries
- JavaScript: Pure Vanilla ES6+ (No external frameworks or libraries)
- Storage: Browser
localStorage&sessionStorage
MIT License. Open source and free to use!
