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 default avatars for remote participants. Fixes scaling problem.

Yana Stamcheva81cb9baa2140
diff --git a/app.js b/app.js
index 5e2ca3c603..f2495af176 100644
--- a/app.js
+++ b/app.js
@@ -423,7 +423,7 @@ function resizeThumbnails() {
var availableHeight = window.innerHeight - $('#largeVideo').height() - 79;
var numvids = $('#remoteVideos>span:visible').length;
// Remove the 1px borders arround videos.
- var availableWinWidth = $('#remoteVideos').width() - 2 * numvids;
+ var availableWinWidth = $('#remoteVideos').width() - 2 * numvids - 50;
var availableWidth = availableWinWidth / numvids;
var aspectRatio = 16.0 / 9.0;
var maxHeight = Math.min(160, availableHeight);
diff --git a/css/main.css b/css/main.css
index c4c0cb2b04..4dcdd02d4e 100644
--- a/css/main.css
+++ b/css/main.css
@@ -65,6 +65,8 @@ html, body{
display: inline-block;
z-index:0;
border:1px solid #FFFFFF;
+ background-image:url(../images/avatar1.png);
+ background-size: contain;
}
#remoteVideos>span:hover {