From de61544582726713c965d3369902f4a464f72e20 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 11 Aug 2022 15:28:11 +0200 Subject: Add plugin hooks/placeholder to share modal --- client/src/app/shared/shared-main/video/embed.component.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'client/src/app/shared/shared-main/video') 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 { } ngOnInit () { - const html = buildVideoOrPlaylistEmbed( - decorateVideoLink({ + const html = buildVideoOrPlaylistEmbed({ + embedUrl: decorateVideoLink({ url: buildVideoEmbedLink(this.video, environment.originServerUrl), title: false, warningTitle: false }), - this.video.name - ) + embedTitle: this.video.name + }) this.embedHTML = this.sanitizer.bypassSecurityTrustHtml(html) } -- cgit v1.2.3