Reverts player changes introduced in MR!1291 breaking background playback (#1509)
MR !1397
This commit is contained in:
parent
2e4354717f
commit
a0560f020f
|
@ -0,0 +1 @@
|
|||
Reverts changes that break mobile browser playback (#1509)
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue