mmckegg / web-audio-school

An intro to the Web Audio API by a series of self-guided workshops.
408 stars 40 forks source link

Not working in Safari (no AudioContext found) #7

Closed herrherrmann closed 8 years ago

herrherrmann commented 9 years ago

Hey there,

today at the web audio hackday we noticed that the website doesn't render in Safari because there's no AudioContext found. Maybe this can be solved through vendor-prefixing or something? Or does even the current Safari not support any AudioContext?

Thanks for your awesome work though!

safari

Update: Oops, I just noticed you're even mentioning this bug in the readme. But maybe you still want to keep this issue open until it's fixed?

ahdinosaur commented 9 years ago

hey @herrherrmann. :cat: it seems Safari supports web audio under a vendor prefix. i made a quick PR that might fix this, maybe worth checking out.

mmckegg commented 9 years ago

@ahdinosaur: Just tried out the PR. Gets past the initial load, but nothing else works.

Safari also doesn't support unprefixed flex-box, and is missing some stuff in the web audio api such as stereo panner. It is probably possible to get it working, but I don't think it's worth it.

I think it will probably work in the new Safari 9 coming out in a few days (with thew new Mac OS release).

mmckegg commented 8 years ago

Will work on iOS too once https://github.com/thlorenz/brace/pull/45 lands.