Guys I need your help please, my games are not outputing sound on iPads/iPhones/iPod Touch in Safari and those are my main platforms.
I tested it with an iPad 4 and an iPod Touchh 4, both with iOS 6.0 in Safari.
I have the 2 file formats (ogg and m4a on the server).
What Am I doing wrong? Do you guys succeed with audio on iOS?
Thanks in advance.
Are you sure your server sends the .m4a files with the correct MIME type? That's one of the most common mistakes.
Thanks a lot for the reply Ashley!
I'll verify that with my webhoster, sadly the server is a IIS wich means I can't add the mime type myself if I read right on the net.
One last quick question. :) It can be this even if the sound work like 1 time on 10 or 20 in my game? (without updates to the games between the tries) Thanks!
I specified my MIME type settings for m4a and it worked...one time...how can that be possible Ashley...? <img src="smileys/smiley19.gif" border="0" align="middle" />
I searched on the Forum and found an answer from you saying to change directory...I tried that...it worked...anotehr time...and after that 1 game on 5 approximately. I don't get how it's possible...any idea?
I didn't update the game in-betwwen my tries, just hit "Refresh" in Safari on my iPad 4.
Hey Ashley, I found a way to make my sounds work every time and not inconsistently on iOS.
Hoping it will help you maybe for a future update? I removed my sounds files from the offline.appcache file and it works now in every game if I hit refresh or not. <img src="smileys/smiley1.gif" border="0" align="middle" />
So it seems iOS don't handle very well the caching of m4a files for now...?
Ashley/Guys, Should I post that into the bugs section?
Thanks for the awesome program!
Develop games in your browser. Powerful, performant & highly capable.
DavidA13 - it must be a Safari bug because it works fine in Chrome. Also, your game won't work offline now.