Skip to content

Commit 7b38928

Browse files
committed
fix lastPosition being Milliseconds and not seconds
1 parent 5c96705 commit 7b38928

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/mediaPlayer/MediaTrack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ export default class MediaTrack {
351351
timestampStart: firstPortion.startTime,
352352
timestampEnd: lastPortion.endTime,
353353
spentTime,
354-
lastPosition: lastPortion.end,
354+
lastPosition: lastPortion.end * 1000,
355355
};
356356
this.onTrackPlayed(values);
357357

0 commit comments

Comments
 (0)