Jump to content

Problem with sounds on Safari for Windows


totallybueno
 Share

Recommended Posts

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 with

this.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 error

Phaser.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

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...