mirror of https://github.com/Chocobozzz/PeerTube
Fix start/stop of first element when loading a playlist
parent
4ba8469c0e
commit
f1d9b2d6bf
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue