1
0
Fork 0

Don't update timestamps for a live

This commit is contained in:
Chocobozzz 2020-12-17 14:14:28 +01:00
parent 91f884d139
commit 18429d011e
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 3 additions and 1 deletions

View File

@ -358,7 +358,9 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
}
handleTimestampClicked (timestamp: number) {
if (this.player) this.player.currentTime(timestamp)
if (!this.player || this.video.isLive) return
this.player.currentTime(timestamp)
scrollToTop()
}