From 1eb915d312e03be762a42251a99d3c4e83562a46 Mon Sep 17 00:00:00 2001 From: hristoterezov Date: Mon, 9 May 2016 12:39:42 -0500 Subject: [PATCH] Adds config option for enabling the flip menu for the local video --- modules/UI/videolayout/LocalVideo.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/UI/videolayout/LocalVideo.js b/modules/UI/videolayout/LocalVideo.js index 76964f44d..d5b0d319f 100644 --- a/modules/UI/videolayout/LocalVideo.js +++ b/modules/UI/videolayout/LocalVideo.js @@ -12,7 +12,8 @@ function LocalVideo(VideoLayout, emitter) { this.container = $("#localVideoContainer").get(0); this.localVideoId = null; this.bindHoverHandler(); - this._buildContextMenu(); + if(config.enableLocalVideoFlip) + this._buildContextMenu(); this.isLocal = true; this.emitter = emitter; Object.defineProperty(this, 'id', {