Fix IOS embed player
This commit is contained in:
parent
49be0fd325
commit
133d9c112a
1 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue