Fix playlists autoplay function
This commit is contained in:
parent
d74ca8af13
commit
ca109be037
|
@ -167,7 +167,7 @@ export default Vue.extend({
|
||||||
query: playlistInfo
|
query: playlistInfo
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
} else if (videoIndex < this.playlistItems.length - 1 && !videosRemain) {
|
} else if (videoIndex < this.playlistItems.length - 1 && videosRemain) {
|
||||||
this.$router.push(
|
this.$router.push(
|
||||||
{
|
{
|
||||||
path: `/watch/${this.playlistItems[videoIndex + 1].videoId}`,
|
path: `/watch/${this.playlistItems[videoIndex + 1].videoId}`,
|
||||||
|
|
Loading…
Reference in New Issue