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:
parent
c5d1152456
commit
d69551ac80
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user