mirror of
https://github.com/videojs/video.js.git
synced 2025-03-17 21:18:27 +02:00
perf: Remove playerEvent
and extra timeupdate
handler in SeekBar (#5852)
This commit is contained in:
parent
4169ddd9b7
commit
a2431ce74c
@ -82,7 +82,6 @@ class SeekBar extends Slider {
|
||||
this.clearInterval(this.updateInterval);
|
||||
});
|
||||
|
||||
this.on(this.player_, ['timeupdate', 'ended'], this.update);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -428,12 +427,5 @@ if (!IS_IOS && !IS_ANDROID) {
|
||||
SeekBar.prototype.options_.children.splice(1, 0, 'mouseTimeDisplay');
|
||||
}
|
||||
|
||||
/**
|
||||
* Call the update event for this Slider when this event happens on the player.
|
||||
*
|
||||
* @type {string}
|
||||
*/
|
||||
SeekBar.prototype.playerEvent = 'timeupdate';
|
||||
|
||||
Component.registerComponent('SeekBar', SeekBar);
|
||||
export default SeekBar;
|
||||
|
Loading…
x
Reference in New Issue
Block a user