refactor(web-player): error handling

This commit is contained in:
4gray committed 2024-04-01 23:30:16 +02:00
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());