diff options
-rw-r--r-- | client/src/app/+videos/+video-watch/video-watch.component.ts | 4 |
1 files changed, 3 insertions, 1 deletions
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 { | |||
358 | } | 358 | } |
359 | 359 | ||
360 | handleTimestampClicked (timestamp: number) { | 360 | handleTimestampClicked (timestamp: number) { |
361 | if (this.player) this.player.currentTime(timestamp) | 361 | if (!this.player || this.video.isLive) return |
362 | |||
363 | this.player.currentTime(timestamp) | ||
362 | scrollToTop() | 364 | scrollToTop() |
363 | } | 365 | } |
364 | 366 | ||