mirror of
https://github.com/videojs/video.js.git
synced 2025-01-02 06:32:07 +02:00
Merge pull request #102 from rkyrychuk/patch-2
Ensure that tracking progress and time progress will stop after destroy
This commit is contained in:
commit
20b36faf11
@ -107,7 +107,12 @@ _V_.Player = _V_.Component.extend({
|
||||
// Cache for video property values.
|
||||
values: {},
|
||||
|
||||
destroy: function(){},
|
||||
destroy: function(){
|
||||
// Ensure that tracking progress and time progress will stop and plater deleted
|
||||
this.stopTrackingProgress();
|
||||
this.stopTrackingCurrentTime();
|
||||
delete _V_.players[this.id]
|
||||
},
|
||||
|
||||
createElement: function(type, options){
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user