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