Skip to content

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

fix(Filmstrip.js):Make sure the local thumbnail is there before getting the height

yanas0c08f96755c6
diff --git a/modules/UI/videolayout/Filmstrip.js b/modules/UI/videolayout/Filmstrip.js
index 05754cf2aa..d165761183 100644
--- a/modules/UI/videolayout/Filmstrip.js
+++ b/modules/UI/videolayout/Filmstrip.js
@@ -444,7 +444,7 @@ const Filmstrip = {
promises.push(new Promise(() => {
let { localThumb } = this.getThumbs();
- let height = localThumb.height();
+ let height = localThumb ? localThumb.height() : 0;
let fontSize = UIUtil.getIndicatorFontSize(height);
this.filmstrip.find('.indicator').animate({
fontSize