Skip to content

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

Fixes issue in IE where click events on local video thumbnail are captured by local audio object created by Temasys plugin on stream attach.

paweldomasae96b9f36596
diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.js
index bac1bd2e2e..0fe5189c8e 100644
--- a/modules/UI/videolayout/VideoLayout.js
+++ b/modules/UI/videolayout/VideoLayout.js
@@ -68,6 +68,16 @@ var VideoLayout = (function (my) {
localAudio.autoplay = true;
localAudio.volume = 0;
}
+ // Now when Temasys plugin is converting also <audio> elements to
+ // plugin's <object>s, in current layout it will capture click events
+ // before it reaches the local video object. We hide it here in order
+ // to prevent that.
+ if (RTCBrowserType.isIExplorer()) {
+ // The issue is not present on Safari. Also if we hide it in Safari
+ // then the local audio track will have 'enabled' flag set to false
+ // which will result in audio mute issues
+ $('#localAudio').hide();
+ }
};
my.changeLocalVideo = function(stream, isMuted) {