aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-04-21 15:28:12 +0200
committerChocobozzz <me@florianbigard.com>2021-04-21 15:28:12 +0200
commit3e0e8d4afded28559b7c473061bbdc31ab542e1c (patch)
tree6b9a509d8f0054b6e3e5e1f837fee3d05966c206 /client/src/app
parent48d7e4ad13bda061c4f75e32cda4a4f579dc4302 (diff)
downloadPeerTube-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/app')
-rw-r--r--client/src/app/+videos/+video-watch/video-watch.component.ts17
1 files changed, 1 insertions, 16 deletions
diff --git a/client/src/app/+videos/+video-watch/video-watch.component.ts b/client/src/app/+videos/+video-watch/video-watch.component.ts
index 2216bdd4a..366e9bb57 100644
--- a/client/src/app/+videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/+videos/+video-watch/video-watch.component.ts
@@ -795,19 +795,6 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
795 src: environment.apiUrl + c.captionPath 795 src: environment.apiUrl + c.captionPath
796 })) 796 }))
797 797
798 const playlistOptions = this.playlist
799 ? {
800 createComponent: false,
801
802 playlist: this.playlist,
803
804 getCurrentPosition: () => this.playlistPosition,
805
806 embedUrl: this.playlist.embedUrl,
807 embedTitle: this.playlist.displayName
808 }
809 : undefined
810
811 const options: PeertubePlayerManagerOptions = { 798 const options: PeertubePlayerManagerOptions = {
812 common: { 799 common: {
813 autoplay: this.isAutoplay(), 800 autoplay: this.isAutoplay(),
@@ -852,9 +839,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
852 839
853 videoCaptions: playerCaptions, 840 videoCaptions: playerCaptions,
854 841
855 videoUUID: video.uuid, 842 videoUUID: video.uuid
856
857 playlist: playlistOptions
858 }, 843 },
859 844
860 webtorrent: { 845 webtorrent: {