From b1934b7e9cdece7c0c38e05b0f905dc2ccab9167 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 24 Oct 2022 10:32:35 +0200 Subject: Fix broken player on live reload --- client/src/standalone/videos/embed.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'client/src/standalone/videos/embed.ts') 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 { if (this.player) { this.player.dispose() + this.player = undefined alreadyHadPlayer = true } -- cgit v1.2.3