Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Avoids double loading of the player.
damencho952eaf5a0c82
diff --git a/modules/UI/shared_video/SharedVideo.js b/modules/UI/shared_video/SharedVideo.jsindex 7b32f79903..6adab009b7 100644--- a/modules/UI/shared_video/SharedVideo.js+++ b/modules/UI/shared_video/SharedVideo.js@@ -64,6 +64,8 @@ export default class SharedVideoManager {if (this.isSharedVideoShown)return;+ this.isSharedVideoShown = true;+// the video urlthis.url = url;@@ -148,8 +150,6 @@ export default class SharedVideoManager {SHARED_VIDEO_CONTAINER_TYPE, self.sharedVideo);VideoLayout.handleVideoThumbClicked(self.url);- self.isSharedVideoShown = true;-// If we are sending the command and we are starting the player// we need to continuously send the player current time positionif(APP.conference.isLocalId(self.from)) {@@ -167,7 +167,7 @@ export default class SharedVideoManager {};window.onPlayerError = function(event) {- console.error("Error in the player:" + event.data);+ console.error("Error in the player:", event.data);};}