Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Implements config property for disabling the prezi button
hristoterezovab4ba5a9c3da
diff --git a/app.js b/app.jsindex ddf403bbfe..16619533bf 100644--- a/app.js+++ b/app.js@@ -60,6 +60,7 @@ var getVideoPosition;var sessionTerminated = false;function init() {+ Toolbar.setupButtonsFromConfig();RTC = setupRTC();if (RTC === null) {window.location.href = 'webrtcrequired.html';diff --git a/index.html b/index.htmlindex 35f6dd30be..4afd54c145 100644--- a/index.html+++ b/index.html@@ -190,10 +190,12 @@</a><span id="unreadMessages"></span></span>- <div class="header_button_separator"></div>- <a class="button" data-toggle="popover" data-placement="bottom" content="Share Prezi" onclick='Prezi.openPreziDialog();'>- <i class="icon-prezi"></i>- </a>+ <span id="prezi_button">+ <div class="header_button_separator"></div>+ <a class="button" data-toggle="popover" data-placement="bottom" content="Share Prezi" onclick='Prezi.openPreziDialog();'>+ <i class="icon-prezi"></i>+ </a>+ </span><span id="etherpadButton"><div class="header_button_separator"></div><a class="button" data-toggle="popover" data-placement="bottom" content="Shared document" onclick='Etherpad.toggleEtherpad(0);'>diff --git a/toolbar.js b/toolbar.jsindex ae0ff18ea0..b79edbcbbe 100644--- a/toolbar.js+++ b/toolbar.js@@ -1,5 +1,15 @@var Toolbar = (function (my) {+ /**+ * Disables and enables some of the buttons.+ */+ my.setupButtonsFromConfig = function () {+ if(config.disablePrezi)+ {+ $("#prezi_button").css({display: "none"});+ }+ }+/*** Opens the lock room dialog.*/