aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-share-modal
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/shared-share-modal')
-rw-r--r--client/src/app/shared/shared-share-modal/video-share.component.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/shared/shared-share-modal/video-share.component.ts b/client/src/app/shared/shared-share-modal/video-share.component.ts
index 341abdc2b..70890e551 100644
--- a/client/src/app/shared/shared-share-modal/video-share.component.ts
+++ b/client/src/app/shared/shared-share-modal/video-share.component.ts
@@ -96,12 +96,12 @@ export class VideoShareComponent {
96 } 96 }
97 97
98 getVideoUrl () { 98 getVideoUrl () {
99 const baseUrl = this.customizations.originUrl 99 const url = this.customizations.originUrl
100 ? this.video.originInstanceUrl 100 ? this.video.url
101 : window.location.origin 101 : buildVideoLink(this.video, window.location.origin)
102 102
103 return decorateVideoLink({ 103 return decorateVideoLink({
104 url: buildVideoLink(this.video, baseUrl), 104 url,
105 105
106 ...this.getVideoOptions() 106 ...this.getVideoOptions()
107 }) 107 })