this.zone.runOutsideAngular(async () => {
this.player = await PeertubePlayerManager.initialize(playerMode, playerOptions, player => this.player = player)
- this.player.focus()
this.player.on('customError', ({ err }: { err: any }) => this.handleError(err))