From 18429d011e88217e371cda4600f6e3e65ddb9eaa Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 17 Dec 2020 14:14:28 +0100 Subject: Don't update timestamps for a live --- client/src/app/+videos/+video-watch/video-watch.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'client/src') diff --git a/client/src/app/+videos/+video-watch/video-watch.component.ts b/client/src/app/+videos/+video-watch/video-watch.component.ts index 543cfe3f7..c757a5e93 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.ts +++ b/client/src/app/+videos/+video-watch/video-watch.component.ts @@ -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() } -- cgit v1.2.3