captbaritone / webamp

Winamp 2 reimplemented for the browser
https://webamp.org
MIT License
9.7k stars 640 forks source link

Audio does not play on iOS 17 Beta #1223

Closed captbaritone closed 8 months ago

captbaritone commented 11 months ago

On iOS 17 Beta 2, audio does not play. In fact, the media does not begin to play (progress indicator does not progress).

Screen recording of the issue:

https://github.com/captbaritone/webamp/assets/162735/e5b82fb8-6f2f-403f-a548-7bfc5062ef43

captbaritone commented 11 months ago

Connected the debugger to my phone. No console error, no obvious errors fetching the mp3 files

Screenshot 2023-08-03 at 8 20 13 PM Screenshot_2023-08-03_at_8 21 01_PM

My current guess: There's been some change that's trying to make it harder for sites to auto-play audio, and the tricks we play to trigger audio are getting interpreted as auto-play

captbaritone commented 11 months ago

I've upgraded to Beta 5c and it's still broken.

captbaritone commented 10 months ago

Upgraded to Beta 6 and it's still broken. I did notice that according the the lock screen media status, it's actively playing (time is moving forward, and the track is selected): image

captbaritone commented 10 months ago

I've been able to get a minimal repro and it like this is a bug in WebKit.

Reported it here and did my own little write up here.

Also, this is very similar to a previous WebKit bug that affected us in https://github.com/captbaritone/webamp/issues/966.

chrisweb commented 9 months ago

what is weird, is that I can't reproduce this bug in iOS 17.0.0 (using the Xcode simulator), but I have the bug on my iPad which has iOS 17.0.3... I mention this because you said in your note that "the initial release of iOS 17 does not seem to include the fix"

chrisweb commented 8 months ago

@captbaritone iOS 17.1 just released and it fixes the safari bug 🙂

captbaritone commented 8 months ago

Same! 17.1 seems to fix it. Closing