diff options
author | Chocobozzz <me@florianbigard.com> | 2022-12-23 11:58:13 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-12-23 11:58:13 +0100 |
commit | 7624270a63c47c90b6cc12d5331b2803ee1d004c (patch) | |
tree | 5497c32ccfa78cdaa0fec6b3ffee5e9c4ebdc240 /client/src | |
parent | 3229664051dc974383fdf8b84cbf0c3796fc6c24 (diff) | |
download | PeerTube-7624270a63c47c90b6cc12d5331b2803ee1d004c.tar.gz PeerTube-7624270a63c47c90b6cc12d5331b2803ee1d004c.tar.zst PeerTube-7624270a63c47c90b6cc12d5331b2803ee1d004c.zip |
Replay the stream when clicking on live button
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/assets/player/shared/control-bar/peertube-live-display.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/assets/player/shared/control-bar/peertube-live-display.ts b/client/src/assets/player/shared/control-bar/peertube-live-display.ts index cc5927473..649eb0b00 100644 --- a/client/src/assets/player/shared/control-bar/peertube-live-display.ts +++ b/client/src/assets/player/shared/control-bar/peertube-live-display.ts | |||
@@ -55,6 +55,7 @@ class PeerTubeLiveDisplay extends ClickableComponent { | |||
55 | if (!hlsjs) return | 55 | if (!hlsjs) return |
56 | 56 | ||
57 | this.player().currentTime(hlsjs.liveSyncPosition) | 57 | this.player().currentTime(hlsjs.liveSyncPosition) |
58 | this.player().play() | ||
58 | this.updateSync(true) | 59 | this.updateSync(true) |
59 | } | 60 | } |
60 | 61 | ||