mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-13 12:36:15 -08:00
refactor(web-player): error handling
This commit is contained in:
1 parent
3bf2346f57
commit
da65aad89a
1 file changed
+1
-1
@@ -39,7 +39,7 @@ export class WebPlayerViewComponent {
|
||||
constructor() {
|
||||
effect(
|
||||
() => {
|
||||
this.player = this.settings().player ?? VideoPlayer.VideoJs;
|
||||
this.player = this.settings()?.player ?? VideoPlayer.VideoJs;
|
||||
|
||||
this.setChannel(this.streamUrl());
|
||||
this.setVjsOptions(this.streamUrl());
|
||||
|
||||
Reference in new issue
Block a user