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
Fixes the video and audio mute icons positions. Fixes the issue with multiple elements of mute icons.
hristoterezov74c0c35f319f
diff --git a/videolayout.js b/videolayout.jsindex 70c8f61893..b4c7e23f8b 100644--- a/videolayout.js+++ b/videolayout.js@@ -715,21 +715,22 @@ var VideoLayout = (function (my) {}}else {- var audioMutedSpan = $('#' + videoSpanId + '>span.audioMuted');+ if(videoMutedSpan.length == 0) {+ videoMutedSpan = document.createElement('span');+ videoMutedSpan.className = 'videoMuted';- videoMutedSpan = document.createElement('span');- videoMutedSpan.className = 'videoMuted';- if (audioMutedSpan) {- videoMutedSpan.right = '30px';- }- $('#' + videoSpanId)[0].appendChild(videoMutedSpan);+ $('#' + videoSpanId)[0].appendChild(videoMutedSpan);- var mutedIndicator = document.createElement('i');- mutedIndicator.className = 'icon-camera-disabled';- Util.setTooltip(mutedIndicator,+ var mutedIndicator = document.createElement('i');+ mutedIndicator.className = 'icon-camera-disabled';+ Util.setTooltip(mutedIndicator,"Participant has<br/>stopped the camera.","top");- videoMutedSpan.appendChild(mutedIndicator);+ videoMutedSpan.appendChild(mutedIndicator);+ }+ var audioMutedSpan = $('#' + videoSpanId + '>span.audioMuted');+ videoMutedSpan = $('#' + videoSpanId + '>span.videoMuted');+ videoMutedSpan.css({right: ((audioMutedSpan.length > 0)?'30px':'0px')});}};@@ -746,17 +747,14 @@ var VideoLayout = (function (my) {}}else {- var videoMutedSpan = $('#' + videoSpanId + '>span.videoMuted');-+ if(audioMutedSpan.length > 0 )+ return;audioMutedSpan = document.createElement('span');audioMutedSpan.className = 'audioMuted';Util.setTooltip(audioMutedSpan,- "Participant is muted",- "top");+ "Participant is muted",+ "top");- if (videoMutedSpan) {- audioMutedSpan.right = '30px';- }$('#' + videoSpanId)[0].appendChild(audioMutedSpan);var mutedIndicator = document.createElement('i');