jerry

How to load audio for all platforms?

Recommended Posts

My game works fine on all brower but IOS. In safari, it stucked in loading page. I don't have a mac, so i can't check the log.

I googled and found safari seems not supporting OGG audio, i think this might be the thing.

How can i load audio for all platforms?

Share this post


Link to post
Share on other sites

I had similar problem and someone did give me an answer though I haven't had time to confirm whether it works or not

http://www.html5gamedevs.com/topic/16356-audio-on-safari/#entry92409

 

Basically, you'll need M4A extension for iOS and you must not play any audio before user interacting with your html5 content

Please give it a try and let me know if it works!

Share this post


Link to post
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.

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

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.