diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-19 09:21:46 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-19 11:30:21 +0200 |
commit | d142c7b9c01735ecebc3511072c0e722ce2edc1b (patch) | |
tree | 5dd57fb6ffea64a65528113c332ce7de7ae3563f /client/src/app/shared/shared-video-playlist | |
parent | 3c6a44a18175b85d2a3e0b7c3e975718833e5345 (diff) | |
download | PeerTube-d142c7b9c01735ecebc3511072c0e722ce2edc1b.tar.gz PeerTube-d142c7b9c01735ecebc3511072c0e722ce2edc1b.tar.zst PeerTube-d142c7b9c01735ecebc3511072c0e722ce2edc1b.zip |
Use playlistPosition for playlists instead of videoId
Diffstat (limited to 'client/src/app/shared/shared-video-playlist')
-rw-r--r-- | client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.ts b/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.ts index 5879c4978..7c083ae26 100644 --- a/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.ts +++ b/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.ts | |||
@@ -78,7 +78,7 @@ export class VideoPlaylistElementMiniatureComponent implements OnInit { | |||
78 | if (!this.playlistElement || !this.playlistElement.video) return {} | 78 | if (!this.playlistElement || !this.playlistElement.video) return {} |
79 | 79 | ||
80 | return { | 80 | return { |
81 | videoId: this.playlistElement.video.uuid, | 81 | playlistPosition: this.playlistElement.position, |
82 | start: this.playlistElement.startTimestamp, | 82 | start: this.playlistElement.startTimestamp, |
83 | stop: this.playlistElement.stopTimestamp, | 83 | stop: this.playlistElement.stopTimestamp, |
84 | resume: true | 84 | resume: true |