mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-14 21:26:15 -08:00
fix(xtream): set initial player in case settings are missing
this commit fixes #326
This commit is contained in:
1 parent
b3f1094924
commit
a944e5d9c5
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user