Skip to content

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

Renames config.minimized to config.filmStripOnly .

hristoterezov7793d65a997e
diff --git a/index.html b/index.html
index 8c740fadf8..4e01a3a364 100644
--- a/index.html
+++ b/index.html
@@ -22,7 +22,7 @@
<script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib -->
<script src="libs/toastr.js?v=1"></script><!-- notifications lib -->
<script src="interface_config.js?v=5"></script>
- <script src="libs/app.bundle.js?v=121"></script>
+ <script src="libs/app.bundle.js?v=122"></script>
<script src="analytics.js?v=1"></script><!-- google analytics plugin -->
<link rel="stylesheet" href="css/font.css?v=7"/>
<link rel="stylesheet" href="css/toastr.css?v=1">
diff --git a/libs/app.bundle.js b/libs/app.bundle.js
index b35cfa98b5..6eac57045f 100644
--- a/libs/app.bundle.js
+++ b/libs/app.bundle.js
@@ -3318,7 +3318,7 @@ function registerListeners() {
AudioLevels.init();
});
- if (!config.minimized) {
+ if (!config.filmStripOnly) {
APP.xmpp.addListener(XMPPEvents.MESSAGE_RECEIVED, updateChatConversation);
APP.xmpp.addListener(XMPPEvents.CHAT_ERROR_RECEIVED, chatAddError);
// Listens for video interruption events.
@@ -3386,7 +3386,7 @@ UI.start = function (init) {
bindEvents();
setupPrezi();
- if(!config.minimized) {
+ if(!config.filmStripOnly) {
$("#videospace").mousemove(function () {
return ToolbarToggler.showToolbar();
});
@@ -3429,7 +3429,7 @@ UI.start = function (init) {
init();
- if(!config.minimized) {
+ if(!config.filmStripOnly) {
toastr.options = {
"closeButton": true,
"debug": false,
@@ -7234,7 +7234,7 @@ var ToolbarToggler = {
* Shows the main toolbar.
*/
showToolbar: function () {
- if(config.minimized)
+ if(config.filmStripOnly)
return;
var header = $("#header"),
bottomToolbar = $("#bottomToolbar");
@@ -7271,7 +7271,7 @@ var ToolbarToggler = {
* @param isDock indicates what operation to perform
*/
dockToolbar: function (isDock) {
- if(config.minimized)
+ if(config.filmStripOnly)
return;
if (isDock) {
@@ -9132,7 +9132,7 @@ RemoteVideo.prototype.addRemoteVideoContainer = function() {
* @param parentElement the parent element where this menu will be added
*/
-if(!config.minimized) {
+if(!config.filmStripOnly) {
RemoteVideo.prototype.addRemoteVideoMenu = function () {
var spanElement = document.createElement('span');
spanElement.className = 'remotevideomenu';
@@ -9911,7 +9911,7 @@ var VideoLayout = (function (my) {
my.init = function (emitter) {
eventEmitter = emitter;
localVideoThumbnail = new LocalVideo(VideoLayout);
- if(config.minimized)
+ if(config.filmStripOnly)
{
showLargeVideo = false;
LargeVideo.disable();
@@ -10077,7 +10077,7 @@ var VideoLayout = (function (my) {
resourceJid) {
if(focusedVideoResourceJid) {
var oldSmallVideo = VideoLayout.getSmallVideo(focusedVideoResourceJid);
- if(oldSmallVideo && !config.minimized)
+ if(oldSmallVideo && !config.filmStripOnly)
oldSmallVideo.focus(false);
}
@@ -10104,7 +10104,7 @@ var VideoLayout = (function (my) {
// Update focused/pinned interface.
if (resourceJid) {
- if(smallVideo && !config.minimized)
+ if(smallVideo && !config.filmStripOnly)
smallVideo.focus(true);
if (!noPinnedEndpointChangedEvent) {
diff --git a/modules/UI/UI.js b/modules/UI/UI.js
index 60779fc971..f181c395a5 100644
--- a/modules/UI/UI.js
+++ b/modules/UI/UI.js
@@ -331,7 +331,7 @@ function registerListeners() {
AudioLevels.init();
});
- if (!config.minimized) {
+ if (!config.filmStripOnly) {
APP.xmpp.addListener(XMPPEvents.MESSAGE_RECEIVED, updateChatConversation);
APP.xmpp.addListener(XMPPEvents.CHAT_ERROR_RECEIVED, chatAddError);
// Listens for video interruption events.
@@ -399,7 +399,7 @@ UI.start = function (init) {
bindEvents();
setupPrezi();
- if(!config.minimized) {
+ if(!config.filmStripOnly) {
$("#videospace").mousemove(function () {
return ToolbarToggler.showToolbar();
});
@@ -442,7 +442,7 @@ UI.start = function (init) {
init();
- if(!config.minimized) {
+ if(!config.filmStripOnly) {
toastr.options = {
"closeButton": true,
"debug": false,
diff --git a/modules/UI/toolbars/ToolbarToggler.js b/modules/UI/toolbars/ToolbarToggler.js
index 3d37b9260c..75d5b6c347 100644
--- a/modules/UI/toolbars/ToolbarToggler.js
+++ b/modules/UI/toolbars/ToolbarToggler.js
@@ -53,7 +53,7 @@ var ToolbarToggler = {
* Shows the main toolbar.
*/
showToolbar: function () {
- if(config.minimized)
+ if(config.filmStripOnly)
return;
var header = $("#header"),
bottomToolbar = $("#bottomToolbar");
@@ -90,7 +90,7 @@ var ToolbarToggler = {
* @param isDock indicates what operation to perform
*/
dockToolbar: function (isDock) {
- if(config.minimized)
+ if(config.filmStripOnly)
return;
if (isDock) {
diff --git a/modules/UI/videolayout/RemoteVideo.js b/modules/UI/videolayout/RemoteVideo.js
index 12c0ad2088..e5e7f41f6d 100644
--- a/modules/UI/videolayout/RemoteVideo.js
+++ b/modules/UI/videolayout/RemoteVideo.js
@@ -43,7 +43,7 @@ RemoteVideo.prototype.addRemoteVideoContainer = function() {
* @param parentElement the parent element where this menu will be added
*/
-if(!config.minimized) {
+if(!config.filmStripOnly) {
RemoteVideo.prototype.addRemoteVideoMenu = function () {
var spanElement = document.createElement('span');
spanElement.className = 'remotevideomenu';
diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.js
index c58611b411..f2fb726bfe 100644
--- a/modules/UI/videolayout/VideoLayout.js
+++ b/modules/UI/videolayout/VideoLayout.js
@@ -36,7 +36,7 @@ var VideoLayout = (function (my) {
my.init = function (emitter) {
eventEmitter = emitter;
localVideoThumbnail = new LocalVideo(VideoLayout);
- if(config.minimized)
+ if(config.filmStripOnly)
{
showLargeVideo = false;
LargeVideo.disable();
@@ -202,7 +202,7 @@ var VideoLayout = (function (my) {
resourceJid) {
if(focusedVideoResourceJid) {
var oldSmallVideo = VideoLayout.getSmallVideo(focusedVideoResourceJid);
- if(oldSmallVideo && !config.minimized)
+ if(oldSmallVideo && !config.filmStripOnly)
oldSmallVideo.focus(false);
}
@@ -229,7 +229,7 @@ var VideoLayout = (function (my) {
// Update focused/pinned interface.
if (resourceJid) {
- if(smallVideo && !config.minimized)
+ if(smallVideo && !config.filmStripOnly)
smallVideo.focus(true);
if (!noPinnedEndpointChangedEvent) {