IPhone : HTML5 audio tag won't play MP3s in iPhone browsers

on Sunday, April 19, 2015

I'm not talking about autoplay or anything like that.


This will not play when the user clicks the play button:



<audio controls>
<source src='/file.mp3' type='audio/mpeg'>
</audio>


Also, when navigating directly to the file it still won't play nor will it prompt for download.


The files are being served via Google Cloud Storage. The MIME types are set properly.


This all works on Android, so what gives? Any ideas?


0 comments:

Post a Comment