1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Refactor media session to playback subscriber

This commit is contained in:
Bill Thornton 2024-10-27 01:22:23 -04:00
parent c3614a0c8c
commit 68bac124af
12 changed files with 268 additions and 383 deletions

View file

@ -184,11 +184,6 @@ function loadPlatformFeatures() {
import('./components/playback/volumeosd');
}
/* eslint-disable-next-line compat/compat */
if (navigator.mediaSession || window.NativeShell) {
import('./components/playback/mediasession');
}
if (!browser.tv && !browser.xboxOne) {
import('./components/playback/playbackorientation');
registerServiceWorker();