From 2e3b0825bbdd3cb45f610600690fc86af4a32feb Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 25 Oct 2022 10:22:33 +0200 Subject: Fix player --- client/src/app/+videos/+video-watch/video-watch.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/+videos') diff --git a/client/src/app/+videos/+video-watch/video-watch.component.ts b/client/src/app/+videos/+video-watch/video-watch.component.ts index b3818c8de..983a27e11 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.ts +++ b/client/src/app/+videos/+video-watch/video-watch.component.ts @@ -657,7 +657,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { : null, authorizationHeader: () => this.authService.getRequestHeaderValue(), - serverUrl: environment.originServerUrl, + serverUrl: environment.originServerUrl || window.location.origin, videoFileToken: () => videoFileToken, requiresAuth: videoRequiresAuth(video), -- cgit v1.2.3