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

update built in studio images

This commit is contained in:
Luke Pulverenti 2013-12-29 21:41:22 -05:00
parent 2137a2436f
commit 0c23a1a971
6 changed files with 65 additions and 36 deletions

View file

@ -35,6 +35,16 @@
$('.itemVideo').addClass('fullscreenVideo');
}
}
function exitFullScreen() {
if (document.exitFullscreen) {
document.exitFullscreen();
} else if (document.mozExitFullScreen) {
document.mozExitFullScreen();
} else if (document.webkitExitFullscreen) {
document.webkitExitFullscreen();
}
}
function isFullScreen() {
return document.fullscreenEnabled || document.mozFullscreenEnabled || document.webkitIsFullScreen || document.mozFullScreen ? true : false;
@ -1316,6 +1326,9 @@
$('#nowPlayingBar').hide();
if (isFullScreen()) {
exitFullScreen();
}
};
self.isPlaying = function () {