ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix next video button to support playlist videos
Rigel Kent6dd873d6a9a7
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.tsindex 9ba14316ca..51e4842750 100644--- a/client/src/app/videos/+video-watch/video-watch.component.ts+++ b/client/src/app/videos/+video-watch/video-watch.component.ts@@ -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 ])}}