diff --git a/client/src/standalone/videos/shared/player-manager-options.ts b/client/src/standalone/videos/shared/player-manager-options.ts index 2de9884ca58..06cb1b022d2 100644 --- a/client/src/standalone/videos/shared/player-manager-options.ts +++ b/client/src/standalone/videos/shared/player-manager-options.ts @@ -212,7 +212,7 @@ export class PlayerManagerOptions { //videoCaptions, inactivityTimeout: 2500, - videoViewUrl: this.videoFetcher.getVideoViewsUrl(video.uuid, video.host), + videoViewUrl: this.videoFetcher.getVideoViewsUrl(video.uuid, video.from), videoShortUUID: video.shortUUID, videoUUID: video.uuid, diff --git a/client/src/standalone/videos/shared/video-fetcher.ts b/client/src/standalone/videos/shared/video-fetcher.ts index 7b95bc004da..2c2f54564b1 100644 --- a/client/src/standalone/videos/shared/video-fetcher.ts +++ b/client/src/standalone/videos/shared/video-fetcher.ts @@ -82,7 +82,7 @@ export class VideoFetcher { } getVideoViewsUrl (videoUUID: string, host: string) { - return this.getVideoUrl(videoUUID, host) + '/views' + return 'https://' + this.getVideoUrl(videoUUID, host) + '/views' } private loadVideoInfo (videoId: string, host: string): Promise {