[whatwg] Help with HTML5 Audio

Anne van Kesteren annevk at opera.com
Sat Aug 4 06:19:45 PDT 2007


On Sat, 04 Aug 2007 03:38:32 +0200, Ian Hickson <ian at hixie.ch> wrote:
> This will get the while file fully downloaded, then play it. You can also
> do things like:
>
>    var sound = new Audio("foo.ogg");
>    sound.oncanplaythrough = function() { sound.play() };

Actually, there's no such event handler on the Audio object.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>



More information about the whatwg mailing list