[mirotalksfu] - fix typo
هذا الالتزام موجود في:
@@ -1386,10 +1386,7 @@ class RoomClient {
|
|||||||
this.isVideoOnFullScreen = this.isVideoOnFullScreen ? false : true;
|
this.isVideoOnFullScreen = this.isVideoOnFullScreen ? false : true;
|
||||||
});
|
});
|
||||||
videoPlayer.addEventListener('click', () => {
|
videoPlayer.addEventListener('click', () => {
|
||||||
if (
|
if ((this.isMobileDevice && this.isVideoOnFullScreen) || !this.isMobileDevice) {
|
||||||
(this.isMobileDevice && this.isVideoOnFullScreen) ||
|
|
||||||
(!this.isMobileDevice && !this.isVideoOnFullScreen)
|
|
||||||
) {
|
|
||||||
videoPlayer.style.pointerEvents = this.isVideoOnFullScreen ? 'auto' : 'none';
|
videoPlayer.style.pointerEvents = this.isVideoOnFullScreen ? 'auto' : 'none';
|
||||||
this.toggleFullScreen(videoPlayer);
|
this.toggleFullScreen(videoPlayer);
|
||||||
this.isVideoOnFullScreen = this.isVideoOnFullScreen ? false : true;
|
this.isVideoOnFullScreen = this.isVideoOnFullScreen ? false : true;
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم