diff options
Diffstat (limited to 'client/src/app/videos/+video-watch/video-share.component.ts')
-rw-r--r-- | client/src/app/videos/+video-watch/video-share.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-watch/video-share.component.ts b/client/src/app/videos/+video-watch/video-share.component.ts index 133f93498..414ed28c6 100644 --- a/client/src/app/videos/+video-watch/video-share.component.ts +++ b/client/src/app/videos/+video-watch/video-share.component.ts | |||
@@ -27,7 +27,7 @@ export class VideoShareComponent { | |||
27 | 27 | ||
28 | getVideoIframeCode () { | 28 | getVideoIframeCode () { |
29 | return '<iframe width="560" height="315" ' + | 29 | return '<iframe width="560" height="315" ' + |
30 | 'src="' + window.location.origin + '/videos/embed/' + this.video.uuid + '" ' + | 30 | 'src="' + this.video.embedUrl + '" ' + |
31 | 'frameborder="0" allowfullscreen>' + | 31 | 'frameborder="0" allowfullscreen>' + |
32 | '</iframe>' | 32 | '</iframe>' |
33 | } | 33 | } |