Set paused state when using media keys

This commit is contained in:
Agate 2020-07-31 17:24:45 +02:00
parent 9231093dac
commit abcac3ffd0
1 changed files with 3 additions and 0 deletions

View File

@ -395,6 +395,9 @@ export default {
self.$store.commit('player/duration', this.duration())
},
onpause: function () {
self.$store.commit('player/playing', false)
},
onloaderror: function (sound, error) {
self.removeFromCache(this)
if (this != self.currentSound) {