aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/standalone')
-rw-r--r--client/src/standalone/videos/embed.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts
index 103014bb0..9e5b2a655 100644
--- a/client/src/standalone/videos/embed.ts
+++ b/client/src/standalone/videos/embed.ts
@@ -492,6 +492,8 @@ export class PeerTubeEmbed {
492 492
493 const playlistPlugin = this.currentPlaylistElement 493 const playlistPlugin = this.currentPlaylistElement
494 ? { 494 ? {
495 createComponent: true,
496
495 elements: this.playlistElements, 497 elements: this.playlistElements,
496 playlist: this.playlist, 498 playlist: this.playlist,
497 499
@@ -502,7 +504,10 @@ export class PeerTubeEmbed {
502 504
503 this.loadVideoAndBuildPlayer(this.currentPlaylistElement.video.uuid) 505 this.loadVideoAndBuildPlayer(this.currentPlaylistElement.video.uuid)
504 .catch(err => console.error(err)) 506 .catch(err => console.error(err))
505 } 507 },
508
509 embedTitle: this.playlist.displayName,
510 embedUrl: window.location.origin + this.playlist.embedPath
506 } 511 }
507 : undefined 512 : undefined
508 513