From b8937e0349ea253c2cb478026baecf177a88e5b5 Mon Sep 17 00:00:00 2001 From: paweldomas Date: Sat, 24 Sep 2016 10:18:17 -0500 Subject: [PATCH] fix(LargeVideoManager): hide video when avatar is displayed --- modules/UI/videolayout/LargeVideoManager.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/UI/videolayout/LargeVideoManager.js b/modules/UI/videolayout/LargeVideoManager.js index 69166394e..53f2777ff 100644 --- a/modules/UI/videolayout/LargeVideoManager.js +++ b/modules/UI/videolayout/LargeVideoManager.js @@ -162,7 +162,8 @@ export default class LargeVideoManager { // but we still should show watermark if (isVideoMuted) { this.showWatermark(true); - promise = Promise.resolve(); + // If the avatar is to be displayed the video should be hidden + promise = container.hide(); } else { promise = container.show(); }