1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Change all instances of currentTime to be in ms.

This commit is contained in:
Ian Walton 2020-08-15 11:30:36 -04:00
parent 134b6b7c3c
commit 9b1ed7ce4f
8 changed files with 12 additions and 20 deletions

View file

@ -256,7 +256,7 @@ import 'flexStyles';
const runtimeTicks = playbackManager.duration(options.player);
if (runtimeTicks) {
const timeRemainingTicks = runtimeTicks - playbackManager.currentTime(options.player);
const timeRemainingTicks = runtimeTicks - playbackManager.currentTime(options.player) * 10000;
return Math.round(timeRemainingTicks / 10000);
}