How enisthebiker/zapper-tv works
Zapper is a browser-based live-TV player. Users browse a configurable channel list or use the virtual remote—including numeric selection—to choose a channel; the player then routes the configured source to HLS video, an embedded site, or YouTube. The list can be reordered, and the interface supports responsive layouts. The excerpts show channel-list construction and playback routing, but not the full page markup or every remote-control handler, so some UI connections rely on README documentation.
Main entry points: player.js Source Routing · channels.js Channel List · index.html Player Interface · style.css Responsive Layout
Components 17
Channel Catalog
- Channel Definitions
channels.js
Browsing And Controls
- Channel List
channels.js - Channel Ordering
player.js - Virtual Remote
index.html - Number Selection
player.js
Playback
- Channel Switching
player.js - Source Routing
player.js - HLS Playback
player.js - Embedded Site Playback
player.js - YouTube Playback
player.js
Interface
- Player Interface
index.html - Responsive Layout
style.css - Playback Status
player.js
Other components
- Viewer
- Stream Hosts
- YouTube
- Channel Sites
Connections 19
- Viewer → Player Interface: uses
README.md - Viewer → Virtual Remote: controls
README.md - Channel Definitions → Channel List: builds
channels.js - Viewer → Channel List: browses
README.md - Channel List → Channel Switching: selects
channels.js - Channel Ordering → Channel List: reads order
player.js - Virtual Remote → Number Selection: accepts numbers
README.md - Number Selection → Channel Switching: selects channel
player.js - Channel Switching → Channel Definitions: reads source
player.js - Channel Switching → Source Routing: routes source
player.js - Source Routing → HLS Playback: plays stream
player.js - Source Routing → Embedded Site Playback: embeds site
player.js - Source Routing → YouTube Playback: embeds video
player.js - HLS Playback → Stream Hosts: loads stream
- Embedded Site Playback → Channel Sites: loads page
player.js - YouTube Playback → YouTube: embeds video
player.js - Player Interface → Responsive Layout: uses layout
README.md - HLS Playback → Playback Status: reports errors
player.js - Playback Status → Player Interface: updates display
player.js