Jump to content

Problem with sounds on Safari for Windows


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?



Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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