W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2007

[whatwg] Help with HTML5 Audio

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 04 Aug 2007 15:19:45 +0200
Message-ID: <op.twjdy7ps64w2qv@annevk-t60.oslo.opera.com>
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/>
Received on Saturday, 4 August 2007 06:19:45 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:36 UTC