mirror of
https://github.com/videojs/video.js.git
synced 2025-03-29 22:07:10 +02:00
@heff fixed a code bug in track XHR requests. closes #1715
This commit is contained in:
parent
0469c5063c
commit
3d16a4378c
@ -2,7 +2,7 @@ CHANGELOG
|
||||
=========
|
||||
|
||||
## HEAD (Unreleased)
|
||||
_(none)_
|
||||
* @heff fixed a code bug in track XHR requests ([view](https://github.com/videojs/video.js/pull/1715))
|
||||
|
||||
--------------------
|
||||
|
||||
|
@ -424,7 +424,7 @@ vjs.TextTrack.prototype.load = function(){
|
||||
// Only load if not loaded yet.
|
||||
if (this.readyState_ === 0) {
|
||||
this.readyState_ = 1;
|
||||
vjs.xhr(this.src_, vjs.bind(function(err, response, responseBody){
|
||||
vjs.xhr(this.src_, vjs.bind(this, function(err, response, responseBody){
|
||||
if (err) {
|
||||
return this.onError(err);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user