diff options
author | Chocobozzz <me@florianbigard.com> | 2022-10-24 10:08:17 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-10-24 10:08:17 +0200 |
commit | 41c26d154aa26a1abe34c8cffc82cec0da35b42f (patch) | |
tree | b5c8c0cba59bf94c3b03e532d04842ef447616fe | |
parent | a6b26afc561703cc343f8962906734324b8c2d0c (diff) | |
download | PeerTube-41c26d154aa26a1abe34c8cffc82cec0da35b42f.tar.gz PeerTube-41c26d154aa26a1abe34c8cffc82cec0da35b42f.tar.zst PeerTube-41c26d154aa26a1abe34c8cffc82cec0da35b42f.zip |
Fix reloading new live session in embed
-rw-r--r-- | client/src/standalone/videos/shared/player-html.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/standalone/videos/shared/player-html.ts b/client/src/standalone/videos/shared/player-html.ts index 61231d2cb..d93678c10 100644 --- a/client/src/standalone/videos/shared/player-html.ts +++ b/client/src/standalone/videos/shared/player-html.ts | |||
@@ -79,7 +79,10 @@ export class PlayerHTML { | |||
79 | } | 79 | } |
80 | 80 | ||
81 | removeInformation () { | 81 | removeInformation () { |
82 | if (!this.informationElement) return | ||
83 | |||
82 | this.removeElement(this.informationElement) | 84 | this.removeElement(this.informationElement) |
85 | this.informationElement = undefined | ||
83 | } | 86 | } |
84 | 87 | ||
85 | private getPlaceholderElement () { | 88 | private getPlaceholderElement () { |