1
0
Fork 0

Fix player

This commit is contained in:
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

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