Embed: onreadylist array was defined in the prototype and therefor shared between player instances

This commit is contained in:
Cat 2018-06-22 12:24:54 +02:00 committed by Thulinma
parent dfde7828e4
commit 94b8fcd2d6
7 changed files with 8 additions and 7 deletions

View file

@ -27,7 +27,9 @@ mistplayers.html5 = {
} catch(e){}
return support;
},
player: function(){},
player: function(){
this.onreadylist = [];
},
mistControls: true
};
var p = mistplayers.html5.player;