Skip to content

Commit

Permalink
fix: Prevent race condition when seeking backwards during load (#8188)
Browse files Browse the repository at this point in the history
  • Loading branch information
tykus160 authored Feb 28, 2025
1 parent 870a3f0 commit bcf159d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -7945,6 +7945,7 @@ shaka.Player = class extends shaka.util.FakeEventTarget {
!this.isLive() &&
// If not paused then GapJumpingController will handle this gap.
this.video_.paused &&
!this.video_.seeking &&
startTime != null &&
startTime > 0 &&
this.playhead_.getTime() < startTime
Expand Down

0 comments on commit bcf159d

Please sign in to comment.