We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c33192 commit d719328Copy full SHA for d719328
lib/player.js
@@ -5480,7 +5480,7 @@ shaka.Player = class extends shaka.util.FakeEventTarget {
5480
const element = /** @type {!HTMLVideoElement} */ (this.video_);
5481
5482
const completionRatio = element.currentTime / element.duration;
5483
- if (!isNaN(completionRatio)) {
+ if (!isNaN(completionRatio) && !this.isLive()) {
5484
this.stats_.setCompletionPercent(Math.round(100 * completionRatio));
5485
}
5486
0 commit comments