Replay the stream when clicking on live button
This commit is contained in:
parent
3229664051
commit
7624270a63
|
@ -55,6 +55,7 @@ class PeerTubeLiveDisplay extends ClickableComponent {
|
||||||
if (!hlsjs) return
|
if (!hlsjs) return
|
||||||
|
|
||||||
this.player().currentTime(hlsjs.liveSyncPosition)
|
this.player().currentTime(hlsjs.liveSyncPosition)
|
||||||
|
this.player().play()
|
||||||
this.updateSync(true)
|
this.updateSync(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue