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 3f3f230 commit f1b1d0e
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 @@ -8109,7 +8109,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 f1b1d0e

Please sign in to comment.