mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Video player fixes
Fix for proper cleanup after playback stopped/fullscreen stop Fix for fullscreen after navigation
This commit is contained in:
parent
c3e4b0bdd5
commit
de64ab5394
2 changed files with 16 additions and 8 deletions
|
@ -43,8 +43,10 @@
|
|||
self.resetEnhancements = function () {
|
||||
var footer = $("#footer");
|
||||
var videoBackdrop = $("#videoBackdrop", footer);
|
||||
var mediaElement = $("#mediaElement", videoBackdrop);
|
||||
var nowPlayingBar = $("#nowPlayingBar", videoBackdrop);
|
||||
footer.append(nowPlayingBar);
|
||||
mediaElement.html(""); // remove play/pause
|
||||
footer.append(mediaElement).append(nowPlayingBar);
|
||||
videoBackdrop.remove();
|
||||
};
|
||||
|
||||
|
@ -57,6 +59,8 @@
|
|||
document.webkitExitFullscreen();
|
||||
}
|
||||
|
||||
$('#videoPlayer').removeClass('fullscreenVideo');
|
||||
|
||||
fullscreenExited = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue