Skip to content

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

Fixes direct access to 'src' attribute of 'video' element.

paweldomas61f4674a28ef
diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.js
index e591f9c7ee..88ab62c4a9 100644
--- a/modules/UI/videolayout/VideoLayout.js
+++ b/modules/UI/videolayout/VideoLayout.js
@@ -480,8 +480,7 @@ var VideoLayout = (function (my) {
var videoThumb = videoSel[0];
// It is not always the case that a videoThumb exists (if there is
// no actual video).
- // FIXME: checking on .src will not work with Temasys plugin
- if (videoThumb.src && videoThumb.src !== '') {
+ if (RTC.getVideoSrc(videoThumb)) {
// We have a video src, great! Let's update the large video
// now.