Replay the stream when clicking on live button

This commit is contained in:
Chocobozzz 2022-12-23 11:58:13 +01:00
parent 3229664051
commit 7624270a63
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ class PeerTubeLiveDisplay extends ClickableComponent {
if (!hlsjs) return
this.player().currentTime(hlsjs.liveSyncPosition)
this.player().play()
this.updateSync(true)
}