howler.js
howler.js copied to clipboard
Next song never starts playing when iPhone "falls to sleep" and locks the screen.
Hello guys.
Currently we run JPlayer on the background of our music site. It used to work fine until Apple iOS update back last Spring, where song stops playing and the next one never starts if iPhone's screen sleeps and locks itself.
I was looking at some players that support .mp3 playback on iPhones and came across your app. Tried to test it out using your demo player (purple one with 3 songs in it), but seeing the same problem:
1st song plays fine -> iPhone's screen goes to sleep (and locks itself) -> song finish playing to the end, but 2nd song never starts, unless user manually "wakes" the phone up and presses Play again.
Is this expected with your player as well?
I am looking for a solution that allows songs to play non-stop (even on the background like on Androids, until user taps "Stop" or closes Safari).
Could you please advise something here... Thank You.
Hmm, in my tests it didn't even played the next track when unlocked. It just stayed at the loading animation. I'm looking for similar use case of emulating a radio with several audio files.
Hi @olegos24 did you find a fix finally?
Yes. Installed an old JPlayer version and it started to work.
Which versions of JPlayee were working/not working?
In case I later need to take a look?
I had 2.9.2, downgraded to 2.4.0
I had 2.9.2, downgraded to 2.4.0
Is it working today? Can you write an example code?