diff --git a/client/src/app/shared/shared-thumbnail/video-thumbnail.component.ts b/client/src/app/shared/shared-thumbnail/video-thumbnail.component.ts index e7881691f..64ec1810d 100644 --- a/client/src/app/shared/shared-thumbnail/video-thumbnail.component.ts +++ b/client/src/app/shared/shared-thumbnail/video-thumbnail.component.ts @@ -72,7 +72,7 @@ export class VideoThumbnailComponent { const currentTime = this.video.userHistory.currentTime - return Math.round((currentTime / this.video.duration)) * 100 + return Math.round(currentTime / this.video.duration * 100) } getDurationOverlayLabel () {