mirror of https://github.com/Chocobozzz/PeerTube
Fix player
parent
716c57d444
commit
2e3b0825bb
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue