diff --git a/front/src/components/audio/Player.vue b/front/src/components/audio/Player.vue index c67e6e5548f35843f7c6d029288b66d6237c0407..a5d127135b85af67b49611b46c1a1ef7c6123064 100644 --- a/front/src/components/audio/Player.vue +++ b/front/src/components/audio/Player.vue @@ -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) {