fix(player): fix option values

This commit is contained in:
4gray committed 2024-01-07 20:21:36 +01:00
1 parent 009dc3e4b9
commit 30a4d22126
1 file changed
+2 -2
@@ -61,8 +61,8 @@ export class HtmlVideoPlayerComponent implements OnChanges, OnDestroy {
const url = channel.url + (channel.epgParams ?? '');
const extension = getExtensionFromUrl(channel.url);
this.dataService.sendIpcEvent(CHANNEL_SET_USER_AGENT, {
userAgent: channel.http['user-agent'],
referer: channel.http.referrer,
userAgent: channel.http?.['user-agent'] ?? '',
referer: channel.http?.referrer ?? '',
});
if (