jerry 0 Posted October 23, 2015 Report Share Posted October 23, 2015 My game works fine on all brower but IOS. In safari, it stucked in loading page. I don't have a mac, so i can't check the log.I googled and found safari seems not supporting OGG audio, i think this might be the thing.How can i load audio for all platforms? Quote Link to post Share on other sites
Shortstuff81000 0 Posted October 26, 2015 Report Share Posted October 26, 2015 Why not try converting them to mp3's? http://media.io/ Quote Link to post Share on other sites
jdnichollsc 56 Posted October 28, 2015 Report Share Posted October 28, 2015 this.game.load.audio('rain', ['audio/rain.ogg', 'audio/rain.mp3']); Quote Link to post Share on other sites
uyerdna 1 Posted October 28, 2015 Report Share Posted October 28, 2015 I had similar problem and someone did give me an answer though I haven't had time to confirm whether it works or nothttp://www.html5gamedevs.com/topic/16356-audio-on-safari/#entry92409 Basically, you'll need M4A extension for iOS and you must not play any audio before user interacting with your html5 contentPlease give it a try and let me know if it works! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.