totallybueno Posted October 21, 2015 Share Posted October 21, 2015 Hi there,I have my game working on Windows browsers and on Android but I´m having a problem with audio on Safari an iOS... here´s the thing: I load an audio normally withthis.game.load.audio("bombSound", ["assets/audio/bombSound.mp3", "assets/audio/bombSound.ogg"]);And on Safari (on iOS it simply get stuck, I can´t or I don´t how to debug there) I´m getting this errorPhaser.Loader - audio[bombSound]: error loading asset from URL null (no supported audio URL specified)The sound does exist (working fine on Windows and Android) but it´s crashing the game on Safari (and probably on iOS), does anyone know why? Thanks Link to comment Share on other sites More sharing options...
chg Posted October 21, 2015 Share Posted October 21, 2015 Safari for Windows: http://www.html5gamedevs.com/topic/10942-sound-not-playing-in-safari-on-windows/ iOS browser - you need to initiate sound from a touch event Link to comment Share on other sites More sharing options...
totallybueno Posted October 21, 2015 Author Share Posted October 21, 2015 Thanks for the answer chg, not working for me the iOS hack Link to comment Share on other sites More sharing options...
drhayes Posted October 21, 2015 Share Posted October 21, 2015 I wouldn't worry about Safari on Windows. It's not representative of Safari on OSX (not nearly the same version or functionality), no one actually uses it, and it's a buggy pile o' crap. Link to comment Share on other sites More sharing options...
Recommended Posts