mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add beta chromecast app id
This commit is contained in:
parent
cceb84c23f
commit
1ec6da7e88
4 changed files with 14 additions and 12 deletions
|
@ -29,14 +29,14 @@
|
|||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||
},
|
||||
"ignore": [],
|
||||
"homepage": "https://github.com/polymerelements/iron-behaviors",
|
||||
"homepage": "https://github.com/PolymerElements/iron-behaviors",
|
||||
"_release": "1.0.12",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.0.12",
|
||||
"commit": "657f526a2382a659cdf4e13be87ecc89261588a3"
|
||||
},
|
||||
"_source": "git://github.com/polymerelements/iron-behaviors.git",
|
||||
"_source": "git://github.com/PolymerElements/iron-behaviors.git",
|
||||
"_target": "^1.0.0",
|
||||
"_originalSource": "polymerelements/iron-behaviors"
|
||||
"_originalSource": "PolymerElements/iron-behaviors"
|
||||
}
|
|
@ -34,7 +34,7 @@
|
|||
'IDLE': 0,
|
||||
'ACTIVE': 1,
|
||||
'WARNING': 2,
|
||||
'ERROR': 3,
|
||||
'ERROR': 3
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -52,10 +52,11 @@
|
|||
};
|
||||
|
||||
var applicationID = "2D4B1DA3";
|
||||
var messageNamespace = 'urn:x-cast:com.connectsdk';
|
||||
|
||||
//var applicationID = "F4EB2E8E";
|
||||
//var messageNamespace = 'urn:x-cast:com.google.cast.mediabrowser.v3';
|
||||
// This is the beta version used for testing new changes
|
||||
//applicationID = '27C4EB5B';
|
||||
|
||||
var messageNamespace = 'urn:x-cast:com.connectsdk';
|
||||
|
||||
var CastPlayer = function () {
|
||||
|
||||
|
|
|
@ -95,9 +95,10 @@
|
|||
|
||||
elem.innerHTML = '';
|
||||
|
||||
var deferred = DeferredBuilder.Deferred();
|
||||
deferred.resolve();
|
||||
return deferred.promise();
|
||||
return new Promise(function (resolve, reject) {
|
||||
|
||||
resolve();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -2098,6 +2098,7 @@ var AppInfo = {};
|
|||
|
||||
deps.push('appstorage');
|
||||
deps.push('scripts/appsettings');
|
||||
deps.push('scripts/extensions');
|
||||
|
||||
require(deps, function (connectionManagerExports, credentialProviderFactory) {
|
||||
|
||||
|
@ -2247,7 +2248,6 @@ var AppInfo = {};
|
|||
deps.push('scripts/sync');
|
||||
deps.push('scripts/backdrops');
|
||||
deps.push('scripts/librarymenu');
|
||||
deps.push('apiclient-deferred');
|
||||
|
||||
deps.push('css!css/card.css');
|
||||
|
||||
|
@ -2270,6 +2270,7 @@ var AppInfo = {};
|
|||
postInitDependencies.push('scripts/remotecontrol');
|
||||
postInitDependencies.push('css!css/notifications.css');
|
||||
postInitDependencies.push('css!css/chromecast.css');
|
||||
postInitDependencies.push('apiclient-deferred');
|
||||
|
||||
if (Dashboard.isRunningInCordova()) {
|
||||
|
||||
|
@ -2414,7 +2415,6 @@ var AppInfo = {};
|
|||
|
||||
initialDependencies.push('browser');
|
||||
initialDependencies.push('apiclient-store');
|
||||
initialDependencies.push('scripts/extensions');
|
||||
|
||||
var supportsNativeWebComponents = 'registerElement' in document && 'content' in document.createElement('template');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue