Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Web Audio Mobile Safari Lock Screen Controls

I have a web audio player that uses Soundmanager2. Right now play/pause work on the lock screen and prev/next do not work. I worked on iOS 7 but I couldn't figure out why.

I see lots of talk about setting the track image and player controls in a native app, but not in an audio web app. That said I'd like to know why it quit working in iOS8 and what I can do to add a track image?

Update: Controls do not work in iOS 8, only on iOS7.

like image 384
Justin Thomas Avatar asked Mar 21 '14 20:03

Justin Thomas


People also ask

How do I get rid of the music player on my lock screen?

Swipe towards the right from the left edge of the screen to access the Today View screen. Now, touch and hold the Music Widget and tap “Remove Widget” in the popup.


1 Answers

I found this on http://www.schillmania.com/projects/soundmanager2/doc/download/:

Side note: The prior release's pre-emptive fix for iOS 8 ended up being a non-issue, as the official iOS 8 release did not use "OS 10" in the user-agent string. Nonetheless, SoundManager2 will now correctly identify iOS 10+ vs. incorrectly flagging it as "iOS 1".

Since this question was asked Mar 21 '14 at 20:20, and the heading above it was "version = "V2.97a.20150601"" (6/1/15), which means the update came after this question, and the edit, so it should be able to work now.

like image 139
snoozingnewt Avatar answered Sep 18 '22 11:09

snoozingnewt