changed event forward method
This commit is contained in:
parent
899ee1088a
commit
cf942c5700
4 changed files with 28 additions and 7 deletions
|
@ -779,7 +779,10 @@ MistPlayer.prototype.report = function(msg) {
|
|||
MistPlayer.prototype.unload = function(){
|
||||
this.addlog('Unloading..');
|
||||
if (('pause' in this) && (this.pause)) { this.pause(); }
|
||||
if ('updateSrc' in this) { this.updateSrc(''); this.load(); }
|
||||
if ('updateSrc' in this) {
|
||||
this.updateSrc('');
|
||||
this.element.load(); //dont use this.load() to avoid interrupting play/pause
|
||||
}
|
||||
this.timer.clear();
|
||||
this.target.innerHTML = '';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue