[mirotalksfu] - fix VideoAI preview on mobile, update dep
هذا الالتزام موجود في:
@@ -44,7 +44,7 @@ dependencies: {
|
|||||||
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
|
* @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
|
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||||
* @version 1.4.79
|
* @version 1.4.80
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mirotalksfu",
|
"name": "mirotalksfu",
|
||||||
"version": "1.4.79",
|
"version": "1.4.80",
|
||||||
"description": "WebRTC SFU browser-based video calls",
|
"description": "WebRTC SFU browser-based video calls",
|
||||||
"main": "Server.js",
|
"main": "Server.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
"ngrok": "^5.0.0-beta.2",
|
"ngrok": "^5.0.0-beta.2",
|
||||||
"nodemailer": "^6.9.14",
|
"nodemailer": "^6.9.14",
|
||||||
"openai": "^4.52.2",
|
"openai": "^4.52.2",
|
||||||
"qs": "6.12.1",
|
"qs": "6.12.2",
|
||||||
"socket.io": "4.7.5",
|
"socket.io": "4.7.5",
|
||||||
"swagger-ui-express": "5.0.1",
|
"swagger-ui-express": "5.0.1",
|
||||||
"uuid": "10.0.0",
|
"uuid": "10.0.0",
|
||||||
|
|||||||
@@ -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 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
|
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||||
* @version 1.4.79
|
* @version 1.4.80
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -4071,7 +4071,7 @@ function showAbout() {
|
|||||||
imageUrl: image.about,
|
imageUrl: image.about,
|
||||||
customClass: { image: 'img-about' },
|
customClass: { image: 'img-about' },
|
||||||
position: 'center',
|
position: 'center',
|
||||||
title: 'WebRTC SFU v1.4.79',
|
title: 'WebRTC SFU v1.4.80',
|
||||||
html: `
|
html: `
|
||||||
<br />
|
<br />
|
||||||
<div id="about">
|
<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 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
|
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||||
* @version 1.4.79
|
* @version 1.4.80
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -7040,8 +7040,10 @@ class RoomClient {
|
|||||||
VideoAI.avatar = avatarDataArr[0];
|
VideoAI.avatar = avatarDataArr[0];
|
||||||
VideoAI.avatarName = avatarDataArr[1];
|
VideoAI.avatarName = avatarDataArr[1];
|
||||||
VideoAI.avatarVoice = avatarDataArr[2] ? avatarDataArr[2] : '';
|
VideoAI.avatarVoice = avatarDataArr[2] ? avatarDataArr[2] : '';
|
||||||
avatarVideoAIPreview.src = avatarUi.video_url.grey;
|
|
||||||
|
avatarVideoAIPreview.setAttribute('src', avatarUi.video_url.grey);
|
||||||
avatarVideoAIPreview.play();
|
avatarVideoAIPreview.play();
|
||||||
|
|
||||||
console.log('Avatar image click event', {
|
console.log('Avatar image click event', {
|
||||||
avatar,
|
avatar,
|
||||||
avatarUi,
|
avatarUi,
|
||||||
@@ -7052,10 +7054,14 @@ class RoomClient {
|
|||||||
div.append(hr);
|
div.append(hr);
|
||||||
div.append(label);
|
div.append(label);
|
||||||
avatarVideoAIcontainer.append(div);
|
avatarVideoAIcontainer.append(div);
|
||||||
|
|
||||||
// Show the first available free avatar
|
// Show the first available free avatar
|
||||||
if (showFreeAvatars && avatarUi.pose_name === 'Kristin in Black Suit') {
|
if (showFreeAvatars && avatarUi.pose_name === 'Kristin in Black Suit') {
|
||||||
avatarVideoAIPreview.src = avatarUi.video_url.grey;
|
avatarVideoAIPreview.setAttribute('src', avatarUi.video_url.grey);
|
||||||
avatarVideoAIPreview.play();
|
avatarVideoAIPreview.playsInline = true;
|
||||||
|
avatarVideoAIPreview.autoplay = true;
|
||||||
|
avatarVideoAIPreview.controls = true;
|
||||||
|
avatarVideoAIPreview.volume = 0.5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -633,6 +633,7 @@ access to use this app.
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
<hr />
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
@@ -883,7 +884,7 @@ access to use this app.
|
|||||||
|
|
||||||
<div id="tabVideoAI" class="tabcontent">
|
<div id="tabVideoAI" class="tabcontent">
|
||||||
<div class="avatarsVideoAI">
|
<div class="avatarsVideoAI">
|
||||||
<video id="avatarVideoAIPreview" src="" controls="yes"></video>
|
<video id="avatarVideoAIPreview"></video>
|
||||||
<hr />
|
<hr />
|
||||||
<table class="settingsTable">
|
<table class="settingsTable">
|
||||||
<tr id="avatars">
|
<tr id="avatars">
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم