parent
79671021e2
commit
6dd873d6a9
|
@ -541,7 +541,9 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
|
|||
}
|
||||
|
||||
private autoplayNext () {
|
||||
if (this.nextVideoUuid) {
|
||||
if (this.playlist) {
|
||||
this.zone.run(() => this.videoWatchPlaylist.navigateToNextPlaylistVideo())
|
||||
} else if (this.nextVideoUuid) {
|
||||
this.router.navigate([ '/videos/watch', this.nextVideoUuid ])
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue