From c65ccb0af574b9d2cefe56c362fa19cbc6246212 Mon Sep 17 00:00:00 2001 From: Leonard Kim Date: Fri, 22 Jun 2018 13:25:54 -0700 Subject: [PATCH] fix(filmstrip): do not show video for large video speaker in audio only When in audio only, the video should not be shown and instead the avatar should display. --- modules/UI/videolayout/SmallVideo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/UI/videolayout/SmallVideo.js b/modules/UI/videolayout/SmallVideo.js index 537accf86..7d74441a5 100644 --- a/modules/UI/videolayout/SmallVideo.js +++ b/modules/UI/videolayout/SmallVideo.js @@ -550,7 +550,7 @@ 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 this.isVideoPlayable() + return this.isVideoPlayable() && !APP.conference.isAudioOnly() ? DISPLAY_BLACKNESS_WITH_NAME : DISPLAY_AVATAR_WITH_NAME; } else if (this.isVideoPlayable() && this.selectVideoElement().length