Fix IOS embed player
This commit is contained in:
parent
49be0fd325
commit
133d9c112a
|
@ -262,6 +262,9 @@ export class PeerTubeEmbed {
|
||||||
|
|
||||||
private async buildDock (videoInfo: VideoDetails, configResponse: Response) {
|
private async buildDock (videoInfo: VideoDetails, configResponse: Response) {
|
||||||
if (this.controls) {
|
if (this.controls) {
|
||||||
|
// On webtorrent fallback, player may have been disposed
|
||||||
|
if (!this.player.player_) return
|
||||||
|
|
||||||
const title = this.title ? videoInfo.name : undefined
|
const title = this.title ? videoInfo.name : undefined
|
||||||
|
|
||||||
const config: ServerConfig = await configResponse.json()
|
const config: ServerConfig = await configResponse.json()
|
||||||
|
|
Loading…
Reference in New Issue