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

This commit is contained in:
Leonard Kim 2018-05-25 13:22:39 -07:00 committed by hristoterezov
parent ca4c7129f1
commit 7de8b96a07
2 changed files with 4 additions and 2 deletions

View File

@ -682,7 +682,8 @@
}
video {
visibility: hidden;
opacity: 0.2;
visibility: visible;
}
}

View File

@ -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()) {