Page 5 of 5
					
				Re: MP3 do not play on iOS anymore
				Posted: 09 Mar 2024, 18:10
				by Johannes
				Hi all,
took some time this Saturday do try to understand the issue on iOS with the audioplayer.
It seems related to some the HTTP user agent and/or play restrictions in iOS.
Tried to apply a fix, that could do the trick, but thus far only able to test in virtual environments, if people with iOAs7MacOS could test please post here if it works now or worse now destroyed something even?
Thanks a lot!
Cheers
johannes
			 
			
					
				Re: MP3 do not play on iOS anymore
				Posted: 09 Mar 2024, 19:17
				by maxpiano
				Johannes wrote:Hi all,
took some time this Saturday do try to understand the issue on iOS with the audioplayer.
It seems related to some the HTTP user agent and/or play restrictions in iOS.
Tried to apply a fix, that could do the trick, but thus far only able to test in virtual environments, if people with iOAs7MacOS could test please post here if it works now or worse now destroyed something even?
Thanks a lot!
Cheers
johannes
Hi Johannes, 
I just tested on Safari 14.1.2 on Mac OS Mojave, using this thread mp3s 
https://www.norduserforum.com/nord-stag ... t2005.html and it works  

 
			
					
				Re: MP3 do not play on iOS anymore
				Posted: 09 Mar 2024, 19:18
				by Schorsch
				Hi Johannes,
I just did a quick check on my iPhone (iOS 17.4) with some of the MP3s from this thread: 
https://www.norduserforum.com/nord-user ... 22009.html
These still don’t play on my iPhone, no sound  

 
			
					
				Re: MP3 do not play on iOS anymore
				Posted: 09 Mar 2024, 19:19
				by maxpiano
				
I confirm it still doesn't work on my iPad Pro with iOS (iPadOS) 17.x
 
			
					
				Re: MP3 do not play on iOS anymore
				Posted: 09 Mar 2024, 19:58
				by Johannes
				Thanks. Can you try another browser? I assume safari?
And be sure that other websites DO reproduce sound?
Cause settings like no disturb  9r sound settings affect the website playback. Behavior.
Inviato dal mio Pixel 6 utilizzando Tapatalk
			 
			
					
				Re: MP3 do not play on iOS anymore
				Posted: 09 Mar 2024, 20:34
				by cgrafx
				you really don't have to do anything special to get MP3s to play, there is a player built into HTML5 that works on all modern browsers.
See reference here: 
https://www.w3schools.com/html/tryit.as ... _audio_all
Note you only need the single .mp3 line (meaning you don't have to use the .ogg file) shown on the linked sample page
<audio controls>
   <source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
 
			
					
				Re: MP3 do not play on iOS anymore
				Posted: 09 Mar 2024, 20:48
				by Schorsch
				Johannes wrote:Thanks. Can you try another browser? I assume safari?
And be sure that other websites DO reproduce sound?
Cause settings like no disturb  9r sound settings affect the website playback. Behavior.
Inviato dal mio Pixel 6 utilizzando Tapatalk
I use Chrome and did the test there, but now also tried Safari with the same result. I honestly have not found other websites which have mp3 files embedded like here, do you have eventually a link with an example which I could try?
 
			
					
				Re: MP3 do not play on iOS anymore
				Posted: 10 Mar 2024, 12:09
				by Johannes
				Can you try they link by cgrafx?
https://www.w3schools.com/html/tryit.as ... _audio_all
Indeed eventuale to be replaced by standard html5. Just some styling applied and some js.
Worth next forum version will use that one.
Thx!
Inviato dal mio Pixel 6 utilizzando Tapatalk
 
			
					
				Re: MP3 do not play on iOS anymore
				Posted: 10 Mar 2024, 12:17
				by Schorsch
				Johannes wrote:Can you try they link by cgrafx?
https://www.w3schools.com/html/tryit.as ... _audio_all
Indeed eventuale to be replaced by standard html5. Just some styling applied and some js.
Worth next forum version will use that one.
Thx!
Inviato dal mio Pixel 6 utilizzando Tapatalk
 
I tried to open the link and yes it works!