dimanche 19 avril 2015

HTML5 audio tag won't play MP3s in iPhone browsers

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?


Aucun commentaire:

Enregistrer un commentaire