[mirotalksfu] - Improve Share Media
هذا الالتزام موجود في:
@@ -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.6.15
|
||||
* @version 1.6.16
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -4555,7 +4555,7 @@ function showAbout() {
|
||||
imageUrl: image.about,
|
||||
customClass: { image: 'img-about' },
|
||||
position: 'center',
|
||||
title: 'WebRTC SFU v1.6.15',
|
||||
title: 'WebRTC SFU v1.6.16',
|
||||
html: `
|
||||
<br />
|
||||
<div id="about">
|
||||
|
||||
@@ -6017,6 +6017,24 @@ class RoomClient {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// Take URL from clipboard ex:
|
||||
// https://www.youtube.com/watch?v=1ZYbU82GVz4
|
||||
|
||||
navigator.clipboard
|
||||
.readText()
|
||||
.then((clipboardText) => {
|
||||
if (!clipboardText) return false;
|
||||
const sanitizedText = filterXSS(clipboardText);
|
||||
const inputElement = Swal.getInput();
|
||||
if (this.isVideoTypeSupported(sanitizedText) && inputElement) {
|
||||
inputElement.value = sanitizedText;
|
||||
}
|
||||
return false;
|
||||
})
|
||||
.catch(() => {
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
getVideoType(url) {
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم