[mirotalksfu] - #194 Show virtual background config on init if previously set

هذا الالتزام موجود في:
Miroslav Pejic
2025-03-26 08:54:33 +01:00
الأصل 2e7d42919c
التزام 57aa7abe7e
5 ملفات معدلة مع 10 إضافات و6 حذوفات

عرض الملف

@@ -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.7.94
* @version 1.7.95
*
*/
@@ -5250,6 +5250,10 @@ async function loadVirtualBackgroundSettings() {
} else if (transparent) {
await applyVirtualBackground(initVideo, initStream, null, null, true);
}
if (virtualBackgroundBlurLevel || virtualBackgroundSelectedImage || virtualBackgroundTransparent) {
initVirtualBackgroundButton.click();
}
}
// ####################################################
@@ -5290,7 +5294,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.7.94',
title: BRAND.about?.title && BRAND.about.title.trim() !== '' ? BRAND.about.title : 'WebRTC SFU v1.7.95',
html: `
<br />
<div id="about">