Skip to content

Commit

Permalink
fix: played ranges data.
Browse files Browse the repository at this point in the history
  • Loading branch information
adrums86 committed Jul 15, 2024
1 parent 0b4da7c commit cf7df42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playback-watcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export default class PlaybackWatcher extends videojs.EventTarget {
} else if (currentTime === this.lastRecordedTime) {
this.consecutiveUpdates++;
} else {
this.playedRanges_.push(createTimeRanges([this.lastRecordedTime, currentTime]));
this.playedRanges_.push(createTimeRanges(this.lastRecordedTime, currentTime));
const metadata = {
playedRanges: this.playedRanges_
};
Expand Down

0 comments on commit cf7df42

Please sign in to comment.