Skip to content

Commit

Permalink
fix: Fix isEnded for live streams (#7866)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad authored and joeyparrish committed Jan 10, 2025
1 parent 9a1594a commit 0cefc93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -8256,7 +8256,7 @@ shaka.Player = class extends shaka.util.FakeEventTarget {
if (!this.video_ || this.video_.ended) {
return true;
}
return this.video_.currentTime >= this.seekRange().end;
return !this.isLive() && this.video_.currentTime >= this.seekRange().end;
}
};

Expand Down

0 comments on commit 0cefc93

Please sign in to comment.