Browse Source

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

master
Leonard Kim 7 years ago
parent
commit
7de8b96a07
2 changed files with 4 additions and 2 deletions
  1. 2
    1
      css/_videolayout_default.scss
  2. 2
    1
      modules/UI/videolayout/SmallVideo.js

+ 2
- 1
css/_videolayout_default.scss View File

@@ -682,7 +682,8 @@
682 682
     }
683 683
 
684 684
     video {
685
-        visibility: hidden;
685
+        opacity: 0.2;
686
+        visibility: visible;
686 687
     }
687 688
 }
688 689
 

+ 2
- 1
modules/UI/videolayout/SmallVideo.js View File

@@ -548,7 +548,8 @@ SmallVideo.prototype.isVideoPlayable = function() {
548 548
 SmallVideo.prototype.selectDisplayMode = function() {
549 549
     // Display name is always and only displayed when user is on the stage
550 550
     if (this.isCurrentlyOnLargeVideo()) {
551
-        return DISPLAY_BLACKNESS_WITH_NAME;
551
+        return this.isVideoPlayable()
552
+            ? DISPLAY_BLACKNESS_WITH_NAME : DISPLAY_AVATAR_WITH_NAME;
552 553
     } else if (this.isVideoPlayable()
553 554
         && this.selectVideoElement().length
554 555
         && !APP.conference.isAudioOnly()) {

Loading…
Cancel
Save