aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-02-26 15:01:22 +0100
committerChocobozzz <me@florianbigard.com>2020-02-26 15:01:22 +0100
commit133d9c112a19720eccc20def0c01aa0ec009c27a (patch)
treed5f1dbddfd3d3973cc3e63a47f3be856f686d1bb /client/src
parent49be0fd3255db54cf9b038bed792eb0de0faf591 (diff)
downloadPeerTube-133d9c112a19720eccc20def0c01aa0ec009c27a.tar.gz
PeerTube-133d9c112a19720eccc20def0c01aa0ec009c27a.tar.zst
PeerTube-133d9c112a19720eccc20def0c01aa0ec009c27a.zip
Fix IOS embed player
Diffstat (limited to 'client/src')
-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 c91ae08b9..5213443fc 100644
--- a/client/src/standalone/videos/embed.ts
+++ b/client/src/standalone/videos/embed.ts
@@ -262,6 +262,9 @@ export class PeerTubeEmbed {
262 262
263 private async buildDock (videoInfo: VideoDetails, configResponse: Response) { 263 private async buildDock (videoInfo: VideoDetails, configResponse: Response) {
264 if (this.controls) { 264 if (this.controls) {
265 // On webtorrent fallback, player may have been disposed
266 if (!this.player.player_) return
267
265 const title = this.title ? videoInfo.name : undefined 268 const title = this.title ? videoInfo.name : undefined
266 269
267 const config: ServerConfig = await configResponse.json() 270 const config: ServerConfig = await configResponse.json()