[mirotalksfu] - improve Video Menu Bar

هذا الالتزام موجود في:
Miroslav Pejic
2025-09-28 00:06:21 +02:00
الأصل 21bd82623c
التزام 63dbd1a9e1
8 ملفات معدلة مع 254 إضافات و95 حذوفات

عرض الملف

@@ -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.71
* @version 1.9.72
*
*/
@@ -3935,6 +3935,16 @@ function setCamerasBorderNone() {
}
}
function hideVideoMenuBar(videoBarId) {
const videoMenuBar = rc.getEcN('videoMenuBar');
for (let i = 0; i < videoMenuBar.length; i++) {
const menuBar = videoMenuBar[i];
if (menuBar.id != videoBarId) {
hide(menuBar);
}
}
}
// https://animate.style
function animateCSS(element, animation, prefix = 'animate__') {
@@ -5683,7 +5693,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.71',
title: BRAND.about?.title && BRAND.about.title.trim() !== '' ? BRAND.about.title : 'WebRTC SFU v1.9.72',
html: `
<br />
<div id="about">