Browse Source

Adds config option for enabling the flip menu for the local video

j8
hristoterezov 9 years ago
parent
commit
1eb915d312
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      modules/UI/videolayout/LocalVideo.js

+ 2
- 1
modules/UI/videolayout/LocalVideo.js View File

12
     this.container = $("#localVideoContainer").get(0);
12
     this.container = $("#localVideoContainer").get(0);
13
     this.localVideoId = null;
13
     this.localVideoId = null;
14
     this.bindHoverHandler();
14
     this.bindHoverHandler();
15
-    this._buildContextMenu();
15
+    if(config.enableLocalVideoFlip)
16
+        this._buildContextMenu();
16
     this.isLocal = true;
17
     this.isLocal = true;
17
     this.emitter = emitter;
18
     this.emitter = emitter;
18
     Object.defineProperty(this, 'id', {
19
     Object.defineProperty(this, 'id', {

Loading…
Cancel
Save