Is It Required To Have Both MP3 & OGG For All Audio In A Phaser 3 Web Game?

Hi,

Nice engine, quite easy to get into and learn.
For audio, is it required to provide both an MP3 and OGG file for each audio in the project?
I understand that some Internet browsers support MP3 while others support OGG.
Was hoping to use only one audio file format for everything, but don’t know if that is possible?
Let me know, thanks!

Jesse

Current source:
https://bitbucket.org/jesseleepalser/phaser-engine/src/master/

Current demo:

MP3 is widely supported now.

Ok, will try that now, thanks!

Hi,

Ok, tested MP3 on below browsers:

  • Windows Edge
  • Windows Firefox
  • Windows Chrome
  • Windows Opera
  • Linux Firefox
  • Linux Chrome
  • Linux Chromium
  • Android Chrome
    (all worked 100%)

Jesse