1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-15 10:39:58 +02:00

refactor(html5): remove confusing references to player in a tech (#3790)

These references to player_ are actually not the player due to techs not having a reference to the player.
This commit is contained in:
Aaron Boushley 2016-11-23 10:58:11 -08:00 committed by Gary Katsevman
parent c5d1152456
commit d69551ac80

View File

@ -443,11 +443,11 @@ class Html5 extends Tech {
if (this.el_.duration === Infinity) {
this.trigger('durationchange');
}
this.off(this.player_, 'timeupdate', checkProgress);
this.off('timeupdate', checkProgress);
}
};
this.on(this.player_, 'timeupdate', checkProgress);
this.on('timeupdate', checkProgress);
return NaN;
}
}