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:
parent
c3614a0c8c
commit
68bac124af
12 changed files with 268 additions and 383 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue