videojs/video.js — pull request #1651 by toloudis (2014-11-08 00:05:38+00:00)
Title: fix undefined source var

It is possible that the source var is undefined and then this code still checks source.src. My fix takes care of this.

Use case: I create my video element with
` var $element = $("").attr("src", src);`
and then later call
` this.player = videojs(el, {}, function() {});`
after adding it to the dom.