Hosted game lacks audio on Mac?

Hey guys,

I did quite a bit of searching and read a lot about the .ogg va .wma - So I understand that a game I 'started' on my Windows, won't launch on my Mac. I have a couple questions:

A) When I put it on my website, I'm able to launch it/play it on all 3 devices[Windows, MacBook, and iphone] but the MacBook doesn't have any audio. Running the game directly crashes due to 'x.ogg is missing'. Is this also an issue when you put it on a website? Would I need to make 2 separate sections, or point someone's browser to one based on their OS?

😎 Is there any 'easy' way (Using nothing custom) to deploy a game to Windows, and Mac? I say that because opening a project I started on WIndows, on the Mac, will say 'No audio found' for everything.

Thanks!
More or less... if you are hosting it, you should have both sets of files (ogg and mp3), as not all web browsers support the same things.


If you are only deploying using the node-webkit engine/cordova/phonegap for mobile, the Safari Webview is used on iOS, while the Cordova webview is used on everything else. 


For desktop browsers (eg Chrome/Opera, Edge, Firefox and Safari) there is no consistent support for both, so you need both.

Original thread: https://forums.rpgmakerweb.com/threads/hosted-game-lacks-audio-on-mac.54695/