瀏覽代碼

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

j8
paweldomas 9 年之前
父節點
當前提交
61f4674a28
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1
    2
      modules/UI/videolayout/VideoLayout.js

+ 1
- 2
modules/UI/videolayout/VideoLayout.js 查看文件

@@ -480,8 +480,7 @@ var VideoLayout = (function (my) {
480 480
             var videoThumb = videoSel[0];
481 481
             // It is not always the case that a videoThumb exists (if there is
482 482
             // no actual video).
483
-            // FIXME: checking on .src will not work with Temasys plugin
484
-            if (videoThumb.src && videoThumb.src !== '') {
483
+            if (RTC.getVideoSrc(videoThumb)) {
485 484
 
486 485
                 // We have a video src, great! Let's update the large video
487 486
                 // now.

Loading…
取消
儲存