diff --git a/src/app/xtream/xtream-main-container.component.ts b/src/app/xtream/xtream-main-container.component.ts index 96c225dcc..aeb2d6cc7 100644 --- a/src/app/xtream/xtream-main-container.component.ts +++ b/src/app/xtream/xtream-main-container.component.ts @@ -336,7 +336,7 @@ export class XtreamMainContainerComponent implements OnInit { } openPlayer(streamUrl: string, title: string) { - this.player = this.settings().player ?? VideoPlayer.VideoJs; + this.player = this.settings()?.player ?? VideoPlayer.VideoJs; if (this.player === VideoPlayer.MPV) { if (!this.hideExternalInfoDialog()) this.dialog.open(ExternalPlayerInfoDialogComponent);