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:
parent
2137a2436f
commit
0c23a1a971
6 changed files with 65 additions and 36 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue