Respect autoplay playlists setting (#2430)
This commit is contained in:
parent
4a8d7c28c0
commit
22dd5baf23
|
@ -132,6 +132,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
|
||||
},
|
||||
|
@ -929,7 +932,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