aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone/videos
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/standalone/videos')
-rw-r--r--client/src/standalone/videos/embed.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts
index d5b42a025..e3bcbc010 100644
--- a/client/src/standalone/videos/embed.ts
+++ b/client/src/standalone/videos/embed.ts
@@ -263,6 +263,9 @@ export class PeerTubeEmbed {
263 private async buildDock (videoInfo: VideoDetails, configResponse: Response) { 263 private async buildDock (videoInfo: VideoDetails, configResponse: Response) {
264 if (!this.controls) return 264 if (!this.controls) return
265 265
266 // On webtorrent fallback, player may have been disposed
267 if (!this.player.player_) return
268
266 const title = this.title ? videoInfo.name : undefined 269 const title = this.title ? videoInfo.name : undefined
267 270
268 const config: ServerConfig = await configResponse.json() 271 const config: ServerConfig = await configResponse.json()