1
0
Fork 0
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:
Luke Pulverenti 2015-12-28 15:21:55 -05:00
parent cceb84c23f
commit 1ec6da7e88
4 changed files with 14 additions and 12 deletions

View file

@ -29,14 +29,14 @@
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
}, },
"ignore": [], "ignore": [],
"homepage": "https://github.com/polymerelements/iron-behaviors", "homepage": "https://github.com/PolymerElements/iron-behaviors",
"_release": "1.0.12", "_release": "1.0.12",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "v1.0.12", "tag": "v1.0.12",
"commit": "657f526a2382a659cdf4e13be87ecc89261588a3" "commit": "657f526a2382a659cdf4e13be87ecc89261588a3"
}, },
"_source": "git://github.com/polymerelements/iron-behaviors.git", "_source": "git://github.com/PolymerElements/iron-behaviors.git",
"_target": "^1.0.0", "_target": "^1.0.0",
"_originalSource": "polymerelements/iron-behaviors" "_originalSource": "PolymerElements/iron-behaviors"
} }

View file

@ -34,7 +34,7 @@
'IDLE': 0, 'IDLE': 0,
'ACTIVE': 1, 'ACTIVE': 1,
'WARNING': 2, 'WARNING': 2,
'ERROR': 3, 'ERROR': 3
}; };
/** /**
@ -52,10 +52,11 @@
}; };
var applicationID = "2D4B1DA3"; var applicationID = "2D4B1DA3";
var messageNamespace = 'urn:x-cast:com.connectsdk';
//var applicationID = "F4EB2E8E"; // This is the beta version used for testing new changes
//var messageNamespace = 'urn:x-cast:com.google.cast.mediabrowser.v3'; //applicationID = '27C4EB5B';
var messageNamespace = 'urn:x-cast:com.connectsdk';
var CastPlayer = function () { var CastPlayer = function () {

View file

@ -95,9 +95,10 @@
elem.innerHTML = ''; elem.innerHTML = '';
var deferred = DeferredBuilder.Deferred(); return new Promise(function (resolve, reject) {
deferred.resolve();
return deferred.promise(); resolve();
});
} }
} }

View file

@ -2098,6 +2098,7 @@ var AppInfo = {};
deps.push('appstorage'); deps.push('appstorage');
deps.push('scripts/appsettings'); deps.push('scripts/appsettings');
deps.push('scripts/extensions');
require(deps, function (connectionManagerExports, credentialProviderFactory) { require(deps, function (connectionManagerExports, credentialProviderFactory) {
@ -2247,7 +2248,6 @@ var AppInfo = {};
deps.push('scripts/sync'); deps.push('scripts/sync');
deps.push('scripts/backdrops'); deps.push('scripts/backdrops');
deps.push('scripts/librarymenu'); deps.push('scripts/librarymenu');
deps.push('apiclient-deferred');
deps.push('css!css/card.css'); deps.push('css!css/card.css');
@ -2270,6 +2270,7 @@ var AppInfo = {};
postInitDependencies.push('scripts/remotecontrol'); postInitDependencies.push('scripts/remotecontrol');
postInitDependencies.push('css!css/notifications.css'); postInitDependencies.push('css!css/notifications.css');
postInitDependencies.push('css!css/chromecast.css'); postInitDependencies.push('css!css/chromecast.css');
postInitDependencies.push('apiclient-deferred');
if (Dashboard.isRunningInCordova()) { if (Dashboard.isRunningInCordova()) {
@ -2414,7 +2415,6 @@ var AppInfo = {};
initialDependencies.push('browser'); initialDependencies.push('browser');
initialDependencies.push('apiclient-store'); initialDependencies.push('apiclient-store');
initialDependencies.push('scripts/extensions');
var supportsNativeWebComponents = 'registerElement' in document && 'content' in document.createElement('template'); var supportsNativeWebComponents = 'registerElement' in document && 'content' in document.createElement('template');