aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main/video
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-08-11 15:28:11 +0200
committerChocobozzz <me@florianbigard.com>2022-08-11 15:28:11 +0200
commitde61544582726713c965d3369902f4a464f72e20 (patch)
treed66d87bb7d633906e1a36c4e72ee7109316db713 /client/src/app/shared/shared-main/video
parent2a95b88477a547c319108c0bab8692624df6804c (diff)
downloadPeerTube-de61544582726713c965d3369902f4a464f72e20.tar.gz
PeerTube-de61544582726713c965d3369902f4a464f72e20.tar.zst
PeerTube-de61544582726713c965d3369902f4a464f72e20.zip
Add plugin hooks/placeholder to share modal
Diffstat (limited to 'client/src/app/shared/shared-main/video')
-rw-r--r--client/src/app/shared/shared-main/video/embed.component.ts8
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 }