Fix IOS embed player

pull/2712/head
Chocobozzz 2020-02-26 15:01:22 +01:00
parent 49be0fd325
commit 133d9c112a
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 3 additions and 0 deletions

View File

@ -262,6 +262,9 @@ export class PeerTubeEmbed {
private async buildDock (videoInfo: VideoDetails, configResponse: Response) {
if (this.controls) {
// On webtorrent fallback, player may have been disposed
if (!this.player.player_) return
const title = this.title ? videoInfo.name : undefined
const config: ServerConfig = await configResponse.json()