Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix: Fixes playing muted youtube video.

damencho4fc9aed708c5
diff --git a/react/features/shared-video/components/web/YoutubeVideoManager.js b/react/features/shared-video/components/web/YoutubeVideoManager.js
index 801bab5dbe..d35e1015ea 100644
--- a/react/features/shared-video/components/web/YoutubeVideoManager.js
+++ b/react/features/shared-video/components/web/YoutubeVideoManager.js
@@ -195,6 +195,12 @@ class YoutubeVideoManager extends AbstractVideoManager<Props> {
}
this.play();
+
+ // sometimes youtube can get muted state from previous videos played in the browser
+ // and as we are disabling controls we want to unmute it
+ if (this.isMuted()) {
+ this.unMute();
+ }
};
/**