diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-21 15:28:12 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-21 15:28:12 +0200 |
commit | 3e0e8d4afded28559b7c473061bbdc31ab542e1c (patch) | |
tree | 6b9a509d8f0054b6e3e5e1f837fee3d05966c206 /client/src/standalone/videos/embed.ts | |
parent | 48d7e4ad13bda061c4f75e32cda4a4f579dc4302 (diff) | |
download | PeerTube-3e0e8d4afded28559b7c473061bbdc31ab542e1c.tar.gz PeerTube-3e0e8d4afded28559b7c473061bbdc31ab542e1c.tar.zst PeerTube-3e0e8d4afded28559b7c473061bbdc31ab542e1c.zip |
Revert "Fix context menu when watching a playlist"
This reverts commit e8bb5b6b3a1e4c2aeab368f01cc5092d8478b893.
We'll refactor this error handler in hls.js v1 upgrade
Diffstat (limited to 'client/src/standalone/videos/embed.ts')
-rw-r--r-- | client/src/standalone/videos/embed.ts | 7 |
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 | ||