diff options
author | Chocobozzz <me@florianbigard.com> | 2022-10-25 10:22:33 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-10-25 10:22:33 +0200 |
commit | 2e3b0825bbdd3cb45f610600690fc86af4a32feb (patch) | |
tree | 3073cf8834e1c165d3a0a00b15c911962f75b8a0 /client/src/app/+videos | |
parent | 716c57d4448481ba743f1b2e2c1d38cecd29d957 (diff) | |
download | PeerTube-2e3b0825bbdd3cb45f610600690fc86af4a32feb.tar.gz PeerTube-2e3b0825bbdd3cb45f610600690fc86af4a32feb.tar.zst PeerTube-2e3b0825bbdd3cb45f610600690fc86af4a32feb.zip |
Fix player
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r-- | client/src/app/+videos/+video-watch/video-watch.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
657 | : null, | 657 | : null, |
658 | authorizationHeader: () => this.authService.getRequestHeaderValue(), | 658 | authorizationHeader: () => this.authService.getRequestHeaderValue(), |
659 | 659 | ||
660 | serverUrl: environment.originServerUrl, | 660 | serverUrl: environment.originServerUrl || window.location.origin, |
661 | 661 | ||
662 | videoFileToken: () => videoFileToken, | 662 | videoFileToken: () => videoFileToken, |
663 | requiresAuth: videoRequiresAuth(video), | 663 | requiresAuth: videoRequiresAuth(video), |