feat: add now playing header indicator and enable background playback for watchpage

This commit is contained in:
Trevor Mears
2026-01-18 01:17:51 -08:00
parent d6eda66360
commit 052178e395
4 changed files with 107 additions and 1 deletions
+9
View File
@@ -113,6 +113,15 @@ class App {
});
});
// Now Playing indicator
const nowPlayingBtn = document.getElementById('now-playing-indicator');
if (nowPlayingBtn) {
nowPlayingBtn.addEventListener('click', (e) => {
e.preventDefault();
this.navigateTo('watch');
});
}
// Toggle groups button
document.getElementById('toggle-groups').addEventListener('click', () => {
this.channelList.toggleAllGroups();