Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix miniature progress bar

Chocobozzze6725e6d3ae4
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 e7881691fc..64ec1810dd 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 () {