dart-lang / sample-pop_pop_win

"Pop, Pop, Win!" is an implementation of Minesweeper in Dart.

Home Page:https://dart-lang.github.io/sample-pop_pop_win/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Audio does not play in Safari 6 or iOS 6's Mobile Safari browsers.

yroJJory opened this issue · comments

commented

The audio implementation is not playing any sounds when the game is used in the built-in Mobile Safari web browser on iOS 6 (test on an iPad 3 in the latest version of iOS 6) nor in Safari 6.0.1 on Mac OS X.

While webkitAudioContext does exist in Safari, I'm blocked on audio support. Safari does not support webm.

I'd love a patch which converts the audio to MP3 or M4A and loads those w/ Safari.

commented

Have you checked out the Aurora.js library, which allows you to add audio codec support using JavaScript? The downside to Aurora is that it takes about 5% of the browser to implement, which is a drag. I'm also unsure if they've written a webm add-on for it.

Out of curiosity, why did you choose to use webm instead of AAC, when AAC has support in all browsers that support Web Audio API?

Resolved by b74bc34