mirror of https://github.com/Chocobozzz/PeerTube
Fix IOS embed player
parent
49be0fd325
commit
133d9c112a
|
@ -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…
Reference in New Issue