From 3e0e8d4afded28559b7c473061bbdc31ab542e1c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 21 Apr 2021 15:28:12 +0200 Subject: Revert "Fix context menu when watching a playlist" This reverts commit e8bb5b6b3a1e4c2aeab368f01cc5092d8478b893. We'll refactor this error handler in hls.js v1 upgrade --- client/src/standalone/videos/embed.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'client/src/standalone/videos/embed.ts') 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 { const playlistPlugin = this.currentPlaylistElement ? { - createComponent: true, - elements: this.playlistElements, playlist: this.playlist, @@ -504,10 +502,7 @@ export class PeerTubeEmbed { this.loadVideoAndBuildPlayer(this.currentPlaylistElement.video.uuid) .catch(err => console.error(err)) - }, - - embedTitle: this.playlist.displayName, - embedUrl: window.location.origin + this.playlist.embedPath + } } : undefined -- cgit v1.2.3