Skip to content

Commit

Permalink
client.js remoteFullScreen(): outcommented document.exitFullscreen()
Browse files Browse the repository at this point in the history
  • Loading branch information
mehrvarz committed Oct 23, 2022
1 parent 96f1f52 commit ea18ec7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webroot/callee/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -1443,16 +1443,16 @@ function remoteFullScreen(forceClose) {
//gLog('remoteFullScreen aspectRatio 16/9');
remoteVideoFrame.style.aspectRatio = "16/9";
}

// exitFullscreen is not supported in iOS (iOS aborts JS without err-msg if exitFullscreen() is called)
/*
// exitFullscreen is not supported in webkit (aborts JS without err-msg if exitFullscreen() is called)
let ua = navigator.userAgent;
if(ua.indexOf("iPhone")<0 && ua.indexOf("iPad")<0) {
gLog('remoteFullScreen exitFullscreen');
document.exitFullscreen().catch(err => {
console.log('remoteFullScreen exitFullscreen err='+err.message);
});
}

*/
// make remotefullscreen label white
//gLog('remoteFullScreen remotefullscreenLabel');
let remotefullscreenLabel = document.getElementById("remotefullscreen");
Expand Down

0 comments on commit ea18ec7

Please sign in to comment.