From 41c26d154aa26a1abe34c8cffc82cec0da35b42f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 24 Oct 2022 10:08:17 +0200 Subject: Fix reloading new live session in embed --- client/src/standalone/videos/shared/player-html.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'client/src/standalone/videos/shared/player-html.ts') 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 { } removeInformation () { + if (!this.informationElement) return + this.removeElement(this.informationElement) + this.informationElement = undefined } private getPlaceholderElement () { -- cgit v1.2.3