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

This commit is contained in:
paweldomas 2015-07-15 10:49:36 +02:00
parent 879fb9a590
commit 61f4674a28
1 changed files with 1 additions and 2 deletions

View File

@ -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.