[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/node": "7.6.0",
"@sentry/integrations": "7.6.0", "@sentry/integrations": "7.6.0",
"socket.io": "4.5.1", "socket.io": "4.5.1",
"swagger-ui-express": "4.4.0", "swagger-ui-express": "4.5.0",
"uuid": "8.3.2", "uuid": "8.3.2",
"yamljs": "0.3.0" "yamljs": "0.3.0"
}, },

عرض الملف

@@ -2362,8 +2362,8 @@ class RoomClient {
background: swalBackground, background: swalBackground,
position: 'center', position: 'center',
imageUrl: image.videoShare, imageUrl: image.videoShare,
title: 'Share YouTube, mp4, webm, ogg video or mp3 audio', title: 'Share a Video or Audio',
text: 'Paste YouTube, mp4, webm, ogg, mp3 URL', text: 'Paste a Video or Audio URL',
input: 'text', input: 'text',
showCancelButton: true, showCancelButton: true,
confirmButtonText: `Share`, confirmButtonText: `Share`,
@@ -2380,7 +2380,7 @@ class RoomClient {
return; return;
} }
if (!this.isVideoTypeSupported(result.value)) { 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; return;
} }
// https://www.youtube.com/watch?v=RT6_Id5-7-s // https://www.youtube.com/watch?v=RT6_Id5-7-s