Page 4 of 5

Re: MP3 do not play on iOS anymore

Posted: 18 Jan 2022, 11:37
by Berretje
So it tries to load/play a file that is not supported? I tried to do some googling and found something about MIME types. So which file extensions/types are parsed or not.

Re: MP3 do not play on iOS anymore

Posted: 18 Jan 2022, 13:39
by florence
type="audio/mpeg" should be ok...

another clue, have you tried this ?

Audio .MP3 not working in Safari browser
I had the same problem, but I had urls like /listen/123.
Notice that it has no extension.
I was streaming the file, so the link worked in chrome + firefox.

So I've added an extension to the url (listen/123.mp3) and modified my back-end code so that 123.mp3 would actually load the resource 123.

Re: MP3 do not play on iOS anymore

Posted: 18 Jan 2022, 15:02
by Schorsch
Interesting that it worked for years up until Apples update to iOS 15 (and the corresponding updates to Safari on MacOS), they must have changed something significantly. I wonder if here's the only place where this was noticed :o

Re: MP3 do not play on iOS anymore

Posted: 18 Jan 2022, 15:23
by maxpiano
Schorsch wrote:Interesting that it worked for years up until Apples update to iOS 15 (and the corresponding updates to Safari on MacOS), they must have changed something significantly. I wonder if here's the only place where this was noticed :o
Well, if you search the web you see multiple discussion on "iOS 15 Safari audio video play issues" so it seems to have affected more than just NUF

Re: MP3 do not play on iOS anymore

Posted: 19 Jan 2022, 16:02
by Berretje
I guess you should now use the default/native html5 player instead... Should work for all browsers

Re: MP3 do not play on iOS anymore

Posted: 19 Jan 2022, 16:14
by Schorsch
Berretje wrote:I guess you should now use the default/native html5 player instead... Should work for all browsers
Hi Bart, how can this be used to play the mp3 files right from the threads?

Re: MP3 do not play on iOS anymore

Posted: 19 Jan 2022, 16:26
by maxpiano
Schorsch wrote:
Berretje wrote:I guess you should now use the default/native html5 player instead... Should work for all browsers
Hi Bart, how can this be used to play the mp3 files right from the threads?
It must be modified at the source (NUF server code and how it generates the html to handle those .mp3 attachments), at the moment the only alternative I found is to keep the finger pressed on the .mp3 attachment and download it instead of trying to play it from the browser; once downloaded you can open it with no issues.

Re: MP3 do not play on iOS anymore

Posted: 19 Jan 2022, 17:06
by Schorsch
maxpiano wrote:It must be modified at the source (NUF server code and how it generates the html to handle those .mp3 attachments), at the moment the only alternative I found is to keep the finger pressed on the .mp3 attachment and download it instead of trying to play it from the browser; once downloaded you can open it with no issues.
Yes that's the (very inconvenient) way I do it since having updated to iOS 15. Maybe Johannes finds a solution/a new plugin for the forum to directly play MP3 files without this caveat, although it's Apple's fault from my point of view but waiting for them to correct it might take ages ...

Re: MP3 do not play on iOS anymore

Posted: 19 Jan 2022, 21:28
by Berretje
Schorsch wrote:
Berretje wrote:I guess you should now use the default/native html5 player instead... Should work for all browsers
Hi Bart, how can this be used to play the mp3 files right from the threads?
I guess Johannes has to change some code for the player on the website. I'm no webdeveloper/coder myself, so I'm not sure how to approach this.

Re: MP3 do not play on iOS anymore

Posted: 19 Jan 2022, 23:42
by Schorsch
Ah ok, that’s what I believed all the time but I thought you may have meant something which can be done by us as users of the forum, because you said “ you should use …”

Let’s see if Johannes has a chance to change something