diff --git a/front/src/components/audio/Player.vue b/front/src/components/audio/Player.vue index c67e6e554..a5d127135 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) {