Skip to content

Commit

Permalink
Fix an issue where full screen could not be exited
Browse files Browse the repository at this point in the history
  • Loading branch information
SangwonOh committed Jul 10, 2024
1 parent a705904 commit 3329af6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/ovenplayer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ovenplayer.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ovenplayer",
"version": "0.10.37.1",
"version": "0.10.37.2",
"description": "OvenPlayer is Open-Source HTML5 Player. OvenPlayer supports WebRTC Signaling from OvenMediaEngine for Sub-Second Latency Streaming.",
"main": "dist/ovenplayer.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/js/view/components/controls/fullScreenButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ const FullScreenButton = function ($container, api) {

} else {
if (isForceMode) {
$root.removeClass("op-fullscreen");
document.body.classList.remove('op-fullscreen-helper');
}
document.body.classList.remove('op-fullscreen-helper');
$root.removeClass("op-fullscreen");
isFullScreen = false;
$iconExpand.show();
$iconCompress.hide();
Expand Down

0 comments on commit 3329af6

Please sign in to comment.