From 01d2e84801c4a2bd96f80f093f5182a110017bb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Pe=C3=B1a?= Date: Sat, 30 Oct 2021 14:11:44 +0200 Subject: [PATCH 1/2] Reverts player changes introduced in merge 1291 (#1509) --- front/src/components/audio/Player.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/front/src/components/audio/Player.vue b/front/src/components/audio/Player.vue index 633ec13e3..fce05c8d7 100644 --- a/front/src/components/audio/Player.vue +++ b/front/src/components/audio/Player.vue @@ -604,11 +604,8 @@ export default { async loadSound (newValue, oldValue) { let trackData = newValue const oldSound = this.currentSound - // stop all other sounds! - // we do this here (before the track has loaded) to get a predictable - // song order. - Howler.stop() if (oldSound && trackData !== oldValue) { + oldSound.stop(this.soundId) this.soundId = null } if (!trackData) { -- GitLab From 26a79ba975260167abffe0efa66dc21c9a3f0f7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Pe=C3=B1a?= Date: Sat, 30 Oct 2021 14:21:48 +0200 Subject: [PATCH 2/2] Changelog --- changes/changelog.d/1509.bugfix | 1 + 1 file changed, 1 insertion(+) create mode 100644 changes/changelog.d/1509.bugfix diff --git a/changes/changelog.d/1509.bugfix b/changes/changelog.d/1509.bugfix new file mode 100644 index 000000000..74c3d7d84 --- /dev/null +++ b/changes/changelog.d/1509.bugfix @@ -0,0 +1 @@ +Reverts changes that break mobile browser playback (#1509) -- GitLab