[mirotalksfu] - improve share video-audio popup UI

هذا الالتزام موجود في:
Miroslav Pejic
2022-07-14 13:01:56 +02:00
الأصل 41051ba6ad
التزام 26e0ecaccb
2 ملفات معدلة مع 4 إضافات و4 حذوفات

عرض الملف

@@ -36,7 +36,7 @@
"@sentry/node": "7.6.0",
"@sentry/integrations": "7.6.0",
"socket.io": "4.5.1",
"swagger-ui-express": "4.4.0",
"swagger-ui-express": "4.5.0",
"uuid": "8.3.2",
"yamljs": "0.3.0"
},

عرض الملف

@@ -2362,8 +2362,8 @@ class RoomClient {
background: swalBackground,
position: 'center',
imageUrl: image.videoShare,
title: 'Share YouTube, mp4, webm, ogg video or mp3 audio',
text: 'Paste YouTube, mp4, webm, ogg, mp3 URL',
title: 'Share a Video or Audio',
text: 'Paste a Video or Audio URL',
input: 'text',
showCancelButton: true,
confirmButtonText: `Share`,
@@ -2380,7 +2380,7 @@ class RoomClient {
return;
}
if (!this.isVideoTypeSupported(result.value)) {
userLog('info', 'Video type supported: youtube, mp4, webm, ogg or Audio mp3', 'top-end');
userLog('warning', 'Something wrong, try with another Video or audio URL');
return;
}
// https://www.youtube.com/watch?v=RT6_Id5-7-s