Skip to content

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

feat(filmstrip): participant on stage displays with transparent video, not hidden

Leonard Kim7de8b96a076f
diff --git a/css/_videolayout_default.scss b/css/_videolayout_default.scss
index b72efb0071..350a4e5de5 100644
--- a/css/_videolayout_default.scss
+++ b/css/_videolayout_default.scss
@@ -682,7 +682,8 @@
}
video {
- visibility: hidden;
+ opacity: 0.2;
+ visibility: visible;
}
}
diff --git a/modules/UI/videolayout/SmallVideo.js b/modules/UI/videolayout/SmallVideo.js
index c8f0e0f8a8..ba854afdaa 100644
--- a/modules/UI/videolayout/SmallVideo.js
+++ b/modules/UI/videolayout/SmallVideo.js
@@ -548,7 +548,8 @@ SmallVideo.prototype.isVideoPlayable = function() {
SmallVideo.prototype.selectDisplayMode = function() {
// Display name is always and only displayed when user is on the stage
if (this.isCurrentlyOnLargeVideo()) {
- return DISPLAY_BLACKNESS_WITH_NAME;
+ return this.isVideoPlayable()
+ ? DISPLAY_BLACKNESS_WITH_NAME : DISPLAY_AVATAR_WITH_NAME;
} else if (this.isVideoPlayable()
&& this.selectVideoElement().length
&& !APP.conference.isAudioOnly()) {