Demonstrates an issue where <media-theme> controls work on full page load but break on client-side navigation.
- Works: Directly visiting
/playeror refreshing on that route - Breaks: Navigating to
/playerfrom another route (e.g.,/)
When broken, the media control bar is present in DOM but unresponsive.
npm installnpm run dev- Visit
/then click link to/player— controls broken - Refresh page on
/player— controls work
npm install media-chrome hls-video-element player.styleExpected: Controls initialize correctly regardless of navigation method
Actual: Controls only work on hard navigation / full page load
- SvelteKit 2.x
- media-chrome 4.17.2
- hls-video-element 1.5.10
- player.style 0.3.1