diff --git a/modules/UI/videolayout/LargeVideo.js b/modules/UI/videolayout/LargeVideo.js index ce4c9f3ea..474c54a80 100644 --- a/modules/UI/videolayout/LargeVideo.js +++ b/modules/UI/videolayout/LargeVideo.js @@ -170,6 +170,8 @@ class VideoContainer extends LargeContainer { this.stream = null; this.videoType = null; + this.isVisible = false; + this.$avatar = $('#dominantSpeaker'); this.$wrapper = $('#largeVideoWrapper'); @@ -298,6 +300,14 @@ class VideoContainer extends LargeContainer { this.$avatar.css("visibility", show ? "visible" : "hidden"); } + /** + * Show or hide watermark. + * @param {boolean} show + */ + showWatermark (show) { + $('.watermark').css('visibility', show ? 'visible' : 'hidden'); + } + // We are doing fadeOut/fadeIn animations on parent div which wraps // largeVideo, because when Temasys plugin is in use it replaces //