diff options
Diffstat (limited to 'client/src/app/shared/shared-main/video')
-rw-r--r-- | client/src/app/shared/shared-main/video/embed.component.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/shared/shared-main/video/embed.component.ts b/client/src/app/shared/shared-main/video/embed.component.ts index 123000834..43e350197 100644 --- a/client/src/app/shared/shared-main/video/embed.component.ts +++ b/client/src/app/shared/shared-main/video/embed.component.ts | |||
@@ -20,15 +20,15 @@ export class EmbedComponent implements OnInit { | |||
20 | } | 20 | } |
21 | 21 | ||
22 | ngOnInit () { | 22 | ngOnInit () { |
23 | const html = buildVideoOrPlaylistEmbed( | 23 | const html = buildVideoOrPlaylistEmbed({ |
24 | decorateVideoLink({ | 24 | embedUrl: decorateVideoLink({ |
25 | url: buildVideoEmbedLink(this.video, environment.originServerUrl), | 25 | url: buildVideoEmbedLink(this.video, environment.originServerUrl), |
26 | 26 | ||
27 | title: false, | 27 | title: false, |
28 | warningTitle: false | 28 | warningTitle: false |
29 | }), | 29 | }), |
30 | this.video.name | 30 | embedTitle: this.video.name |
31 | ) | 31 | }) |
32 | 32 | ||
33 | this.embedHTML = this.sanitizer.bypassSecurityTrustHtml(html) | 33 | this.embedHTML = this.sanitizer.bypassSecurityTrustHtml(html) |
34 | } | 34 | } |