mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Don't update timestamps for a live
This commit is contained in:
parent
91f884d139
commit
18429d011e
@ -358,7 +358,9 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
handleTimestampClicked (timestamp: number) {
|
handleTimestampClicked (timestamp: number) {
|
||||||
if (this.player) this.player.currentTime(timestamp)
|
if (!this.player || this.video.isLive) return
|
||||||
|
|
||||||
|
this.player.currentTime(timestamp)
|
||||||
scrollToTop()
|
scrollToTop()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user