Fix miniature progress bar
This commit is contained in:
parent
9ac4ecb6f8
commit
e6725e6d3a
|
@ -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 () {
|
||||
|
|
Loading…
Reference in New Issue