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
|
@ -81,7 +81,6 @@ MistPlayer.prototype.getElement = function(tag){
|
|||
this.element = ele;
|
||||
return ele;
|
||||
};
|
||||
MistPlayer.prototype.onreadylist = [];
|
||||
MistPlayer.prototype.onready = function(dothis){
|
||||
this.onreadylist.push(dothis);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue