Skip to content

Commit

Permalink
fix: Reset to default playback rate on release playback rate controll…
Browse files Browse the repository at this point in the history
…er (#6089)
  • Loading branch information
avelad authored and joeyparrish committed Feb 17, 2024
1 parent 44cac01 commit 2e390ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/media/play_rate_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ shaka.media.PlayRateController = class {

/** @override */
release() {
this.set(this.getDefaultRate());
if (this.timer_) {
this.timer_.stop();
this.timer_ = null;
Expand Down

0 comments on commit 2e390ed

Please sign in to comment.