How maxty40/dasar_git works
Nexus Video Player is a browser-based player organized around a user-driven playlist and FIFO up-next queue. Users add or reorder playlist videos, navigate between tracks, and enqueue videos to play next; the app updates the player UI and persists playlist and queue state in localStorage. The graph separates UI orchestration, playback/list management, queue management, and persistence. README documents these capabilities; edges are limited to relationships shown in excerpts or stated there, since parts of app.js were not sampled.
Main entry points: app.js UI event orchestration · storage.js State hydration and serialization · structures.js Playlist navigation
Components 11
Player interface
- UI event orchestration
js/app.js - Player and playlist UI
js/app.js - Queue display
js/app.js - Video embed
Playlist playback
- Playlist navigation
js/modules/structures.js - Playlist nodes
js/modules/structures.js
Up-next queue
- FIFO queue
js/modules/structures.js - Queue nodes
js/modules/structures.js
Local persistence
- State hydration and serialization
js/modules/storage.js
Other components
- User
- Browser localStorage
Connections 14
- User → UI event orchestration: triggers controls
js/app.js - UI event orchestration → Playlist navigation: manages playback
js/app.js - UI event orchestration → FIFO queue: manages queue
js/app.js - UI event orchestration → State hydration and serialization: loads and saves
js/app.js - UI event orchestration → Player and playlist UI: renders playback
js/app.js - UI event orchestration → Queue display: renders queue
js/app.js - Player and playlist UI → Playlist navigation: reads current track
js/app.js - Player and playlist UI → Video embed: sets embed source
js/app.js - Queue display → FIFO queue: renders queue items
js/app.js - Playlist navigation → Playlist nodes: creates nodes
js/modules/structures.js - FIFO queue → Queue nodes: creates nodes
js/modules/structures.js - State hydration and serialization → Playlist navigation: hydrates and serializes
js/modules/storage.js - State hydration and serialization → FIFO queue: hydrates and serializes
js/modules/storage.js - State hydration and serialization → Browser localStorage: reads and writes
js/modules/storage.js