mirror of https://github.com/FreeTubeApp/FreeTube
Respect autoplay playlists setting (#2429)
This commit is contained in:
parent
4abcb7df15
commit
1ec55aff16
|
@ -129,6 +129,9 @@ export default Vue.extend({
|
|||
playNextVideo: function () {
|
||||
return this.$store.getters.getPlayNextVideo
|
||||
},
|
||||
autoplayPlaylists: function () {
|
||||
return this.$store.getters.getAutoplayPlaylists
|
||||
},
|
||||
hideRecommendedVideos: function () {
|
||||
return this.$store.getters.getHideRecommendedVideos
|
||||
},
|
||||
|
@ -915,7 +918,7 @@ export default Vue.extend({
|
|||
},
|
||||
|
||||
handleVideoEnded: function () {
|
||||
if (!this.watchingPlaylist && !this.playNextVideo) {
|
||||
if ((!this.watchingPlaylist || !this.autoplayPlaylists) && !this.playNextVideo) {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue