Fix start/stop of first element when loading a playlist

pull/2227/head
Chocobozzz 2019-11-06 09:14:18 +01:00
parent 4ba8469c0e
commit f1d9b2d6bf
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 5 additions and 1 deletions

View File

@ -80,7 +80,11 @@ export class VideoWatchPlaylistComponent {
if (redirectToFirst) {
const extras = {
queryParams: { videoId: firstAvailableVideos.video.uuid },
queryParams: {
start: firstAvailableVideos.startTimestamp,
stop: firstAvailableVideos.stopTimestamp,
videoId: firstAvailableVideos.video.uuid
},
replaceUrl: true
}
this.router.navigate([], extras)