mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update shared components
This commit is contained in:
parent
ee11212148
commit
6f21a963ea
52 changed files with 1405 additions and 1023 deletions
|
@ -1382,13 +1382,17 @@ var AppInfo = {};
|
|||
|
||||
paths.hlsjs = bowerPath + "/hls.js/dist/hls.min";
|
||||
|
||||
if ((window.chrome && window.chrome.sockets) || Dashboard.isRunningInCordova()) {
|
||||
paths.serverdiscovery = apiClientBowerPath + "/serverdiscovery-chrome";
|
||||
} else {
|
||||
paths.serverdiscovery = apiClientBowerPath + "/serverdiscovery";
|
||||
}
|
||||
|
||||
if (Dashboard.isRunningInCordova()) {
|
||||
paths.sharingMenu = "cordova/sharingwidget";
|
||||
paths.serverdiscovery = "cordova/serverdiscovery";
|
||||
paths.wakeonlan = "cordova/wakeonlan";
|
||||
paths.actionsheet = "cordova/actionsheet";
|
||||
} else {
|
||||
paths.serverdiscovery = apiClientBowerPath + "/serverdiscovery";
|
||||
paths.wakeonlan = apiClientBowerPath + "/wakeonlan";
|
||||
|
||||
define("sharingMenu", [embyWebComponentsBowerPath + "/sharing/sharingmenu"], returnFirstDependency);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue