1
0
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:
Gary Katsevman 2014-12-03 14:21:25 -08:00 committed by heff
parent 1f6c5179d8
commit c111d30b45
2 changed files with 3 additions and 0 deletions

View File

@ -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))
--------------------

View File

@ -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_));
}
});