Skip to content

Commit ea18ec7

Browse files
committed
client.js remoteFullScreen(): outcommented document.exitFullscreen()
1 parent 96f1f52 commit ea18ec7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

webroot/callee/client.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1443,16 +1443,16 @@ function remoteFullScreen(forceClose) {
14431443
//gLog('remoteFullScreen aspectRatio 16/9');
14441444
remoteVideoFrame.style.aspectRatio = "16/9";
14451445
}
1446-
1447-
// exitFullscreen is not supported in iOS (iOS aborts JS without err-msg if exitFullscreen() is called)
1446+
/*
1447+
// exitFullscreen is not supported in webkit (aborts JS without err-msg if exitFullscreen() is called)
14481448
let ua = navigator.userAgent;
14491449
if(ua.indexOf("iPhone")<0 && ua.indexOf("iPad")<0) {
14501450
gLog('remoteFullScreen exitFullscreen');
14511451
document.exitFullscreen().catch(err => {
14521452
console.log('remoteFullScreen exitFullscreen err='+err.message);
14531453
});
14541454
}
1455-
1455+
*/
14561456
// make remotefullscreen label white
14571457
//gLog('remoteFullScreen remotefullscreenLabel');
14581458
let remotefullscreenLabel = document.getElementById("remotefullscreen");

0 commit comments

Comments
 (0)