Skip to content

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

Hides video wrapper when avtar is shown, and make it visible when we hide the avtar.

damencho3cd549a7584c
diff --git a/modules/UI/videolayout/LargeVideo.js b/modules/UI/videolayout/LargeVideo.js
index 79699e354f..cfe063f13a 100644
--- a/modules/UI/videolayout/LargeVideo.js
+++ b/modules/UI/videolayout/LargeVideo.js
@@ -239,6 +239,9 @@ class VideoContainer extends LargeContainer {
}
showAvatar (show) {
+ // if we are showing the avatar, this means there is no video on large
+ // so let's hide its video wrapper
+ show ? this.hide() : this.show();
this.$avatar.css("visibility", show ? "visible" : "hidden");
}