Browse Source

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

master
paweldomas 10 years ago
parent
commit
61f4674a28
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      modules/UI/videolayout/VideoLayout.js

+ 1
- 2
modules/UI/videolayout/VideoLayout.js View File

480
             var videoThumb = videoSel[0];
480
             var videoThumb = videoSel[0];
481
             // It is not always the case that a videoThumb exists (if there is
481
             // It is not always the case that a videoThumb exists (if there is
482
             // no actual video).
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
                 // We have a video src, great! Let's update the large video
485
                 // We have a video src, great! Let's update the large video
487
                 // now.
486
                 // now.

Loading…
Cancel
Save