mirror of
https://github.com/videojs/video.js.git
synced 2025-04-13 11:50:49 +02:00
Merge pull request #1116 from dmlap/hotfix/gcc-currentSrc
Fix currentSrc when Flash returns null
This commit is contained in:
commit
2079af7320
@ -284,8 +284,8 @@ vjs.Flash.prototype.currentSrc = function(){
|
|||||||
var src = this.el_.vjs_getProperty('currentSrc');
|
var src = this.el_.vjs_getProperty('currentSrc');
|
||||||
// no src, check and see if RTMP
|
// no src, check and see if RTMP
|
||||||
if (src == null) {
|
if (src == null) {
|
||||||
var connection = this.rtmpConnection(),
|
var connection = this['rtmpConnection'](),
|
||||||
stream = this.rtmpStream();
|
stream = this['rtmpStream']();
|
||||||
|
|
||||||
if (connection && stream) {
|
if (connection && stream) {
|
||||||
src = vjs.Flash.streamFromParts(connection, stream);
|
src = vjs.Flash.streamFromParts(connection, stream);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user