Confirmed users
656
edits
No edit summary |
|||
| Line 482: | Line 482: | ||
A series of blog posts document the evolution and implementation of this API: http://vocamus.net/dave/?cat=25. Another overview by Al MacDonald is available [http://weblog.bocoup.com/web-audio-all-aboard here]. | A series of blog posts document the evolution and implementation of this API: http://vocamus.net/dave/?cat=25. Another overview by Al MacDonald is available [http://weblog.bocoup.com/web-audio-all-aboard here]. | ||
=== | ===== Security ===== | ||
''' | Similar to the <canvas> element and its '''getImageData''' method, the '''MozAudioAvailable''' event's '''frameBuffer''' attribute protects against information leakage between origins. | ||
The '''MozAudioAvailable''' event's '''frameBuffer''' attribute will throw if the origin of audio resource does not match the document's origin. NOTE: this will affect users who have the security.fileuri.strict_origin_policy set, and are working locally with file:/// URIs. | |||
===== Compatibility with Audio Backends ===== | |||
''' | The current MozAudioAvailable implementation integrates with Mozilla's decoder abstract base classes, and therefore, any audio decoder which uses these base classes automatically dispatches MozAudioAvailable events. At the time of writing, this includes the Ogg and WebM decoders but '''not''' the Wave decoder. | ||
=== Obtaining Code and Builds === | |||
'''Latest Try Server Builds:''' | |||
http:// | http://ftp.mozilla.org/pub/mozilla.org/firefox/tryserver-builds/david.humphrey@senecac.on.ca-ecf5c7f4e806/ | ||
=== JavaScript Audio Libraries === | === JavaScript Audio Libraries === | ||
* We have started work on a JavaScript library to make building audio web apps easier. Details are [[Audio Data API JS Library|here]]. | * We have started work on a JavaScript library to make building audio web apps easier. Details are [[Audio Data API JS Library|here]]. | ||
* [http://github.com/bfirsh/dynamicaudio.js dynamicaudio.js] - An interface for writing audio with a Flash fall back for older browsers. | * [http://github.com/bfirsh/dynamicaudio.js dynamicaudio.js] - An interface for writing audio with a Flash fall back for older browsers. ''NOTE:'' not necessarily up-to-date with this version of the API. | ||
=== Working Audio Data Demos === | === Working Audio Data Demos === | ||
| Line 570: | Line 572: | ||
* http://news.slashdot.org/story/10/05/26/1936224/Breakthroughs-In-HTML-Audio-Via-Manipulation-With-JavaScript | * http://news.slashdot.org/story/10/05/26/1936224/Breakthroughs-In-HTML-Audio-Via-Manipulation-With-JavaScript | ||
* http://ajaxian.com/archives/amazing-audio-api-javascript-demos | * http://ajaxian.com/archives/amazing-audio-api-javascript-demos | ||
* http://www.webmonkey.com/2010/08/sampleplayer-makes-your-browser-sing-sans-flash/ | |||