{"id":250,"date":"2006-04-20T11:04:55","date_gmt":"2006-04-20T17:04:55","guid":{"rendered":"http:\/\/blog.codedread.com\/?p=250"},"modified":"2006-04-20T11:04:55","modified_gmt":"2006-04-20T17:04:55","slug":"audio-in-web-pages","status":"publish","type":"post","link":"https:\/\/www.codedread.com\/blog\/archives\/2006\/04\/20\/audio-in-web-pages\/","title":{"rendered":"Audio In Web Pages"},"content":{"rendered":"<p><a href=\"http:\/\/virtuelvis.com\/archives\/2006\/04\/opera-9-beta\">Via Arve<\/a>.  <a href=\"http:\/\/www.opera.com\/\">Opera<\/a> <a href=\"http:\/\/www.opera.com\/pressreleases\/en\/2006\/04\/20\/\">releases<\/a> the first Beta for Version 9 of their browser today.  Big news from my perspective is support for the <a href=\"http:\/\/whatwg.org\/specs\/web-apps\/current-work\/#scs-sound\">audio<\/a> object.  <!--more--><\/p>\n<p><script type=\"text\/javascript\" src=\"http:\/\/www.codedread.com\/googleads.js\"><\/script><script type=\"text\/javascript\" src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\"><\/script><\/p>\n<p>Obviously I haven't spent enough time looking at the <a href=\"http:\/\/whatwg.org\/specs\/web-apps\/current-work\/\">Web Applications 1.0<\/a> (HTML5) spec, so this was an eye opener for me.  Once we get over the <a href=\"http:\/\/www.w3.org\/Graphics\/SVG\/\">graphics<\/a> hump in the browser, the silent (no pun intended) stumbling block for producing a quality gaming experience in the browser is audio.  Ironically this is something I planned to blog about soon so this news is rather timely (and thankfully, avoids some embarrasment on my part).<\/p>\n<p>Some folks (like my cousin, <a href=\"http:\/\/www.schillmania.com\/\">Scott<\/a>) have got around this current browser limitation by making <a href=\"http:\/\/www.schillmania.com\/projects\/soundmanager\/\">JavaScript audio libraries<\/a> that sneakily use Adobe's Flash underneath.<\/p>\n<p>Personally, I was eagerly awaiting browser implementations of <a href=\"http:\/\/www.w3.org\/TR\/SVGMobile12\/\"><span class=\"definition\" title=\"Scalable Vector Graphics\">SVGT<\/span> 1.2<\/a> (which has not yet been released as a Candidate Recommendation) where <a href=\"http:\/\/www.w3.org\/TR\/SVGMobile12\/multimedia.html#AudioElement\">audio<\/a> and <a href=\"http:\/\/www.w3.org\/TR\/SVGMobile12\/multimedia.html#VideoElement\">video<\/a> media can be embedded\/triggered.  As of today, no browser has made mention of supporting SVG 1.2.<\/p>\n<p>On a somewhat related sidenote:  <a href=\"http:\/\/lists.w3.org\/Archives\/Public\/www-svg\/2005May\/0171.html\">Some<\/a> have questioned what audio is doing in a graphics specification in the first place, but members of the SVG Working Group have stated words to the effect that \"SVG\" is just an acronym and the specification is now extending beyond the realm of just \"graphics\" and into the realm of a more complete <span class=\"definition\" title=\"Rich Internet Applications\">RIA<\/span> specification for mobile devices (as well as desktop browsers).  In my mind, it begs the question of what the <a href=\"http:\/\/www.w3.org\/2006\/appformats\/\">Web Applications Formats<\/a> Working Group will do and how the WHATWG's HTML5 fits into the picture (if at all).<\/p>\n<p>Hey, at this point, I don't care where\/how it's implemented, just give me the cross-browser capability for Pac-Man to make \"gobble\" sounds.<\/p>\n<p>If I have to cast a vote, I say browsers should go with the HTML5's audio object because SVGT 1.2 will be a long time coming.  So I think it would be great if other browsers pick up on this and provide support for the audio object.  The capabilities look a little crude at the moment (play a sound, loop a sound, stop a sound and only via script) and the spec does not specify a required format that browsers must support (WAV format is mentioned in the examples).<\/p>\n<p>If enough browsers pick up support for for audio and graphical capabilities this would be a way for <a href=\"http:\/\/www.openlaszlo.org\/\">OpenLaszlo<\/a> to get <a href=\"http:\/\/www.openlaszlo.org\/advancedajax\" title=\"OpenLaszlo to support DHTML target\"><span class=\"definition\" title=\"Dynamic HTML\">DHTML<\/span> targets<\/a> at parity with Flash-based output targets.  Something I've been thinking heavily about lately.<\/p>\n<p>Congratulations to Opera on being first to implement this.  I bet it catches other browser developers by surprise...<\/p>\n<p><script type=\"text\/javascript\" src=\"http:\/\/www.codedread.com\/googleads.js\"><\/script><script type=\"text\/javascript\" src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Via Arve. Opera releases the first Beta for Version 9 of their browser today. Big news from my perspective is support for the audio object.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,39,41,43,25,46,11,28],"tags":[],"class_list":["post-250","post","type-post","status-publish","format-standard","hentry","category-ajax","category-laszlo","category-opera","category-ria","category-software","category-svg","category-technology","category-web"],"_links":{"self":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts\/250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/comments?post=250"}],"version-history":[{"count":0,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts\/250\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/media?parent=250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/categories?post=250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/tags?post=250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}