Fix player

pull/5378/head
Chocobozzz 2022-10-25 10:22:33 +02:00
parent 716c57d444
commit 2e3b0825bb
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -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),