[mirotalksfu] - add new env vars
هذا الالتزام موجود في:
@@ -76,7 +76,7 @@ let BRAND = {
|
||||
},
|
||||
about: {
|
||||
imageUrl: '../images/mirotalk-logo.gif',
|
||||
title: '<strong>WebRTC SFU v1.9.12</strong>',
|
||||
title: '<strong>WebRTC SFU v1.9.13</strong>',
|
||||
html: `
|
||||
<button
|
||||
id="support-button"
|
||||
|
||||
@@ -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.9.12
|
||||
* @version 1.9.13
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -1559,7 +1559,12 @@ function roomIsReady() {
|
||||
myProfileAvatar.setAttribute('src', rc.genAvatarSvg(peer_name, 64));
|
||||
}
|
||||
|
||||
show(toggleExtraButton); //*
|
||||
const controlDiv = getId('control');
|
||||
const visibleButtons = Array.from(controlDiv.children).filter(
|
||||
(el) => el.style.display !== 'none' && !el.classList.contains('hidden')
|
||||
);
|
||||
BUTTONS.main.extraButton || visibleButtons.length > 0 ? show(toggleExtraButton) : hide(toggleExtraButton);
|
||||
|
||||
BUTTONS.main.exitButton && show(exitButton);
|
||||
BUTTONS.main.shareButton && show(shareButton);
|
||||
BUTTONS.main.hideMeButton && show(hideMeButton);
|
||||
@@ -1643,11 +1648,13 @@ function roomIsReady() {
|
||||
show(startRtmpURLButton) &&
|
||||
show(streamerRtmpButton);
|
||||
}
|
||||
if (!parserResult.browser.name.toLowerCase().includes('safari')) {
|
||||
if (BUTTONS.main.fullScreenButton && !parserResult.browser.name.toLowerCase().includes('safari')) {
|
||||
document.onfullscreenchange = () => {
|
||||
if (!document.fullscreenElement) rc.isDocumentOnFullScreen = false;
|
||||
};
|
||||
show(fullScreenButton);
|
||||
} else {
|
||||
hide(fullScreenButton);
|
||||
}
|
||||
BUTTONS.main.whiteboardButton && show(whiteboardButton);
|
||||
if (BUTTONS.main.documentPiPButton && showDocumentPipBtn) show(documentPiPButton);
|
||||
@@ -5514,7 +5521,7 @@ function showAbout() {
|
||||
position: 'center',
|
||||
imageUrl: BRAND.about?.imageUrl && BRAND.about.imageUrl.trim() !== '' ? BRAND.about.imageUrl : image.about,
|
||||
customClass: { image: 'img-about' },
|
||||
title: BRAND.about?.title && BRAND.about.title.trim() !== '' ? BRAND.about.title : 'WebRTC SFU v1.9.12',
|
||||
title: BRAND.about?.title && BRAND.about.title.trim() !== '' ? BRAND.about.title : 'WebRTC SFU v1.9.13',
|
||||
html: `
|
||||
<br />
|
||||
<div id="about">
|
||||
|
||||
@@ -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.9.12
|
||||
* @version 1.9.13
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@ let BUTTONS = {
|
||||
shareQr: true,
|
||||
shareButton: true, // for quest, presenter default true
|
||||
hideMeButton: true,
|
||||
fullScreenButton: true,
|
||||
startAudioButton: true,
|
||||
startVideoButton: true,
|
||||
startScreenButton: true,
|
||||
@@ -34,6 +35,7 @@ let BUTTONS = {
|
||||
settingsButton: true,
|
||||
aboutButton: true, // Please keep me always visible, thank you!
|
||||
exitButton: true,
|
||||
extraButton: true,
|
||||
},
|
||||
settings: {
|
||||
fileSharing: true,
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم