]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Replay the stream when clicking on live button
authorChocobozzz <me@florianbigard.com>
Fri, 23 Dec 2022 10:58:13 +0000 (11:58 +0100)
committerChocobozzz <me@florianbigard.com>
Fri, 23 Dec 2022 10:58:13 +0000 (11:58 +0100)
client/src/assets/player/shared/control-bar/peertube-live-display.ts

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