mirror of
https://github.com/videojs/video.js.git
synced 2024-11-24 08:42:25 +02:00
@mmcc fixed the vdata exception when you dispose a player with tracks. closes #1710
This commit is contained in:
parent
1f6c5179d8
commit
c111d30b45
@ -9,6 +9,7 @@ CHANGELOG
|
||||
* @heff added the Source Handler interface for handling advanced formats including adaptive streaming ([view](https://github.com/videojs/video.js/pull/1560))
|
||||
* @azawawi added an Arabic translation ([view](https://github.com/videojs/video.js/pull/1692))
|
||||
* @mmcc added functions for better timeout and interval handling ([view](https://github.com/videojs/video.js/pull/1642))
|
||||
* @mmcc fixed the vdata exception when you dispose a player with tracks ([view](https://github.com/videojs/video.js/pull/1710))
|
||||
|
||||
--------------------
|
||||
|
||||
|
@ -149,6 +149,8 @@ vjs.TextTrack = vjs.Component.extend({
|
||||
this.activeCues_ = [];
|
||||
this.readyState_ = 0;
|
||||
this.mode_ = 0;
|
||||
|
||||
player.on('dispose', vjs.bind(this, this.deactivate, this.id_));
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user