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

dlna fixes

This commit is contained in:
Luke Pulverenti 2014-06-22 01:52:31 -04:00
parent 11cb5f0b45
commit b9aac88766
28 changed files with 410 additions and 423 deletions

View file

@ -1260,16 +1260,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);