mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
feat(shared-video): Get allowed URL domains from config and dynamic branding.
This commit is contained in:
@@ -547,7 +547,7 @@ function initCommands() {
|
||||
},
|
||||
'start-share-video': url => {
|
||||
sendAnalytics(createApiEvent('share.video.start'));
|
||||
const id = extractYoutubeIdOrURL(url);
|
||||
const id = extractYoutubeIdOrURL(url, APP.store.getState()['features/shared-video'].allowedUrlDomains);
|
||||
|
||||
if (id) {
|
||||
APP.store.dispatch(playSharedVideo(id));
|
||||
|
||||
Reference in New Issue
Block a user