Sfoglia il codice sorgente

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

j8
hristoterezov 9 anni fa
parent
commit
1eb915d312
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2
    1
      modules/UI/videolayout/LocalVideo.js

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

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

Loading…
Annulla
Salva