mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
make compatible
This commit is contained in:
parent
3f913bcd29
commit
016eb79885
4 changed files with 102 additions and 93 deletions
|
@ -528,7 +528,9 @@ var AppInfo = {};
|
|||
"components/htmlaudioplayer/plugin",
|
||||
"components/htmlvideoplayer/plugin",
|
||||
"components/photoplayer/plugin",
|
||||
"components/youtubeplayer/plugin"
|
||||
"components/youtubeplayer/plugin",
|
||||
"components/backdropscreensaver/plugin",
|
||||
"components/logoscreensaver/plugin"
|
||||
];
|
||||
|
||||
if (appHost.supports("remotecontrol")) {
|
||||
|
@ -590,6 +592,8 @@ var AppInfo = {};
|
|||
require(["playerSelectionMenu", "components/playback/remotecontrolautoplay"]);
|
||||
}
|
||||
|
||||
require(["components/screensavermanager"]);
|
||||
|
||||
if (!appHost.supports("physicalvolumecontrol") || browser.touch) {
|
||||
require(["components/playback/volumeosd"]);
|
||||
}
|
||||
|
@ -667,7 +671,8 @@ var AppInfo = {};
|
|||
autoPlayDetect: componentsPath + "/playback/autoplaydetect",
|
||||
nowPlayingHelper: componentsPath + "/playback/nowplayinghelper",
|
||||
pluginManager: componentsPath + "/pluginManager",
|
||||
packageManager: componentsPath + "/packagemanager"
|
||||
packageManager: componentsPath + "/packagemanager",
|
||||
screensaverManager: componentsPath + "/screensavermanager"
|
||||
};
|
||||
|
||||
requirejs.onError = onRequireJsError;
|
||||
|
@ -710,6 +715,9 @@ var AppInfo = {};
|
|||
|
||||
require(["css!css/site"]);
|
||||
|
||||
// alias
|
||||
define("inputmanager", ["inputManager"], returnFirstDependency);
|
||||
|
||||
// define styles
|
||||
// TODO determine which of these files can be moved to the components themselves
|
||||
define("material-icons", ["css!css/material-icons/style"], returnFirstDependency);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue