소스 검색

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

master
Leonard Kim 7 년 전
부모
커밋
7de8b96a07
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    1
      css/_videolayout_default.scss
  2. 2
    1
      modules/UI/videolayout/SmallVideo.js

+ 2
- 1
css/_videolayout_default.scss 파일 보기

682
     }
682
     }
683
 
683
 
684
     video {
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 파일 보기

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

Loading…
취소
저장