1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-06 06:50:51 +02:00

Merge pull request #1116 from dmlap/hotfix/gcc-currentSrc

Fix currentSrc when Flash returns null
This commit is contained in:
Steve Heffernan 2014-03-26 16:53:55 -07:00
commit 2079af7320

View File

@ -284,8 +284,8 @@ vjs.Flash.prototype.currentSrc = function(){
var src = this.el_.vjs_getProperty('currentSrc');
// no src, check and see if RTMP
if (src == null) {
var connection = this.rtmpConnection(),
stream = this.rtmpStream();
var connection = this['rtmpConnection'](),
stream = this['rtmpStream']();
if (connection && stream) {
src = vjs.Flash.streamFromParts(connection, stream);