1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

3.0.5231.40980

This commit is contained in:
Luke Pulverenti 2014-04-28 23:56:20 -04:00
parent ee5eefb01e
commit 8a5cd4b491
13 changed files with 68 additions and 42 deletions

View file

@ -587,7 +587,7 @@
this.timer = setInterval(this.incrementMediaTimeHandler, this.timerStep);
};
var castPlayer = new CastPlayer();
//var castPlayer = new CastPlayer();
function getCodecLimits() {
@ -1477,16 +1477,16 @@
};
}
MediaController.registerPlayer(new chromecastPlayer());
//MediaController.registerPlayer(new chromecastPlayer());
$(MediaController).on('playerchange', function () {
//$(MediaController).on('playerchange', function () {
if (MediaController.getPlayerInfo().name == PlayerName) {
// if (MediaController.getPlayerInfo().name == PlayerName) {
if (castPlayer.deviceState != DEVICE_STATE.ACTIVE && castPlayer.isInitialized) {
castPlayer.launchApp();
}
}
});
// if (castPlayer.deviceState != DEVICE_STATE.ACTIVE && castPlayer.isInitialized) {
// castPlayer.launchApp();
// }
// }
//});
})(window, window.chrome, console);