Skip to content
Snippets Groups Projects
Commit abcac3ff authored by Agate's avatar Agate 💬
Browse files

Set paused state when using media keys

parent 9231093d
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment