From 61f4674a28ef5225cd5739bc36a769928897e17d Mon Sep 17 00:00:00 2001 From: paweldomas Date: Wed, 15 Jul 2015 10:49:36 +0200 Subject: [PATCH] Fixes direct access to 'src' attribute of 'video' element. --- modules/UI/videolayout/VideoLayout.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.js index e591f9c7e..88ab62c4a 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.