Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

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

hristoterezov1eb915d312e0
diff --git a/modules/UI/videolayout/LocalVideo.js b/modules/UI/videolayout/LocalVideo.js
index 76964f44d9..d5b0d319ff 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', {