Embed: onreadylist array was defined in the prototype and therefor shared between player instances
This commit is contained in:
parent
dfde7828e4
commit
94b8fcd2d6
7 changed files with 8 additions and 7 deletions
|
@ -10,7 +10,7 @@ mistplayers.dashjs = {
|
|||
if ((options.host.substr(0,7) == 'http://') && (source.url.substr(0,8) == 'https://')) { return false; }
|
||||
return (('MediaSource' in window) && (location.protocol != 'file:'));
|
||||
},
|
||||
player: function(){}
|
||||
player: function(){this.onreadylist = [];}
|
||||
};
|
||||
var p = mistplayers.dashjs.player;
|
||||
p.prototype = new MistPlayer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue