Skip to content

Commit

Permalink
fix lastPosition being Milliseconds and not seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
kkuepper committed Dec 20, 2024
1 parent 5c96705 commit 7b38928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/mediaPlayer/MediaTrack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ export default class MediaTrack {
timestampStart: firstPortion.startTime,
timestampEnd: lastPortion.endTime,
spentTime,
lastPosition: lastPortion.end,
lastPosition: lastPortion.end * 1000,
};
this.onTrackPlayed(values);

Expand Down

0 comments on commit 7b38928

Please sign in to comment.