A cute and customizable web-based HLS (HTTP Live Streaming) player built using hls.js
. This mini project demonstrates how to implement a media streaming player in the browser, complete with quality control, metadata display, request tracking, and optional geo-based access control.
- ✅ HLS Playback – Supports standard
.m3u8
playlist files - ✅ Playlist Selector – Dropdown menu with 2–3 predefined HLS playlists
- ✅ Manual Bitrate Switch – Buttons to change video quality manually
- ✅ Video Info Display – Shows bitrate, resolution, and audio/video codec info
- ✨ Request Logger – Displays all streaming segment requests made by the player in real-time
- ✨ GEO-Based Access Control – Basic IP-based region control using
geoplugin.net
git clone https://github.com/DevStranger/Leebit.git
cd Leebit
⚠️ Due to CORS restrictions,.m3u8
files must be loaded via HTTP(S) — not directly fromfile://
# For Python 3.x
python -m http.server
Then open your browser and go to:
http://localhost:8000