Skip to content

Commit

Permalink
feat: remove unrequired custom events
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosVillasenor committed Oct 23, 2024
1 parent 6c569a8 commit 2c6b351
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/js/control-bar/progress-control/seek-bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,6 @@ class SeekBar extends Slider {
// Update ARIA attributes for accessibility
this.el_.setAttribute('aria-valuenow', (percent * 100).toFixed(2));
this.el_.setAttribute('aria-valuetext', `${Math.floor(this.desiredSeekPosition)} seconds`);
this.trigger('previewScrubbingActive');
}

confirmSeek() {
Expand All @@ -475,7 +474,6 @@ class SeekBar extends Slider {
const currentTime = this.player_.currentTime();

this.updateProgressBarWithDesiredPosition(currentTime);
this.trigger('previewScrubbingInactive');
}

/**
Expand Down

0 comments on commit 2c6b351

Please sign in to comment.