aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone/videos/embed.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-10-24 10:32:35 +0200
committerChocobozzz <me@florianbigard.com>2022-10-24 10:32:35 +0200
commitb1934b7e9cdece7c0c38e05b0f905dc2ccab9167 (patch)
tree67410ba55fac4f317d0c451f29df901809aa4e09 /client/src/standalone/videos/embed.ts
parent41c26d154aa26a1abe34c8cffc82cec0da35b42f (diff)
downloadPeerTube-b1934b7e9cdece7c0c38e05b0f905dc2ccab9167.tar.gz
PeerTube-b1934b7e9cdece7c0c38e05b0f905dc2ccab9167.tar.zst
PeerTube-b1934b7e9cdece7c0c38e05b0f905dc2ccab9167.zip
Fix broken player on live reload
Diffstat (limited to 'client/src/standalone/videos/embed.ts')
-rw-r--r--client/src/standalone/videos/embed.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts
index 5384ada1c..451e54840 100644
--- a/client/src/standalone/videos/embed.ts
+++ b/client/src/standalone/videos/embed.ts
@@ -259,6 +259,7 @@ export class PeerTubeEmbed {
259 259
260 if (this.player) { 260 if (this.player) {
261 this.player.dispose() 261 this.player.dispose()
262 this.player = undefined
262 alreadyHadPlayer = true 263 alreadyHadPlayer = true
263 } 264 }
264 265