Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS 15 audio playlist problems

I previously had HTML5 audio playlists working in iOS, even when the screen was locked. This was achieved using the solution suggested here: swapping out the the src when the ended event was triggered.

Can HTML5 in the browser play continuous audio on iOS lock screen?

Now on iOS15 this seems to have stopped working and so playlists reach the end of the first track and the next one never starts.

Has anyone experienced this too? Anyone know a solution? This makes my website basically broken for people who want to listen to audio playlists while the phone is locked.

like image 910
DaveR Avatar asked Nov 23 '21 20:11

DaveR


People also ask

How do I get Apple Music to stop showing on my lock screen?

At your home screen, click the gear icon (settings) to visit device settings. Then what you have to do is open the notifications tab. You have to find and click on Music and slide the notification toggle to disable it. Restart your iPhone after doing so and the music app lock screen problem should be fixed easily.

Why is my volume not working on iOS 15?

Go to Settings > Notification Settings > 'App' > Notifications. Next, toggle on 'Allow Notifications' and 'Sounds' and you should be good to go.

How to fix Apple Music not working on iOS 15/14?

Press and hold down the Sleep/Wake (Volume Down button if it's iPhone 7/7 Plus or above) and home button at the same time until you see the Apple Logo. When all the above solutions still fail to kill off the problem of Apple Music, you may consider repairing your iOS 15/14 on iPhone/iPad/iPod.

Is your iPhone having sound issues with iOS 15?

iPhone users are having sound issues with this new iOS 15 bug By Aleksandar Anastasov Sep 24, 2021, 9:06 AM 7 If you own an iPhone, you might have recently experienced some weirdness going on with your sound while in social media apps. At least that is what several users are reporting on Redditas of late.

How to stop Apple Music from crashing on iPhone?

Tricks to Fix Apple Music Crashing/ Not Playing after iOS 14 Update 1 Restart Apple Music. Double press the home button, swipe off Apple Music to close it. ... 2 Restart your iPhone/iPad/iPod. ... 3 Reset your network setting. ... 4 Launch Apple Music in a different way. ... 5 Log out and in the iCloud Account. ... 6 Force restart your device. ...

How to turn off show Apple Music on iPhone?

Launch Apple Music in a different way. Go to Settings >> Music >> Join Apple Music. Log out and in the iCloud Account. Go to Settings >> Music, and turn off Show Apple Music. Go to Settings >> iCloud, and sign in iCloud account.


1 Answers

Met same problem.

It seems like safari on iOS 15 locked audio element when src changes, which won't happen on iOS 14 and before.

You can try to use howler.js to partially solve this problem. This library creates 5 or more audio elements when user interacts, but it will still encounter the same problem when pre-created audio elements is depleted in the background.

like image 198
Octave Avatar answered Oct 19 '22 15:10

Octave