From 8cef6080ae152486f18b2225732839907e2b934c Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Wed, 25 Sep 2024 14:46:16 +0200 Subject: [PATCH] [mirotalksfu] - fix --- app/src/Server.js | 2 +- package.json | 2 +- public/js/Room.js | 4 ++-- public/js/RoomClient.js | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/src/Server.js b/app/src/Server.js index 19f9e23c..01ad68d6 100644 --- a/app/src/Server.js +++ b/app/src/Server.js @@ -55,7 +55,7 @@ dev dependencies: { * @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.5.73 + * @version 1.5.74 * */ diff --git a/package.json b/package.json index da164222..e04d5f96 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mirotalksfu", - "version": "1.5.73", + "version": "1.5.74", "description": "WebRTC SFU browser-based video calls", "main": "Server.js", "scripts": { diff --git a/public/js/Room.js b/public/js/Room.js index 2f4cb5c6..1ac7f2b3 100644 --- a/public/js/Room.js +++ b/public/js/Room.js @@ -11,7 +11,7 @@ if (location.href.substr(0, 5) !== 'https') location.href = 'https' + location.h * @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.5.73 + * @version 1.5.74 * */ @@ -4458,7 +4458,7 @@ function showAbout() { imageUrl: image.about, customClass: { image: 'img-about' }, position: 'center', - title: 'WebRTC SFU v1.5.73', + title: 'WebRTC SFU v1.5.74', html: `
diff --git a/public/js/RoomClient.js b/public/js/RoomClient.js index fbc7f25d..7b91ddcd 100644 --- a/public/js/RoomClient.js +++ b/public/js/RoomClient.js @@ -9,7 +9,7 @@ * @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.5.73 + * @version 1.5.74 * */ @@ -3279,9 +3279,9 @@ class RoomClient { document.webkitFullscreenEnabled || document.mozFullScreenEnabled || document.msFullscreenEnabled; - if (fsSupported) { - this.handleFullScreenEvents(); - } + + fsSupported ? this.handleFullScreenEvents() : (this.getId('fullScreenButton').style.display = 'none'); + return fsSupported; }