W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2008

[whatwg] Issue when Video currentTime used for seeking.

From: Chris Double <chris.double@double.co.nz>
Date: Wed, 12 Nov 2008 20:16:42 +1300
Message-ID: <c2e346f90811112316r2fc25382l6dd29b15b1c1a67b@mail.gmail.com>
On Wed, Nov 12, 2008 at 6:36 PM, Biju Gm at il <bijumaillist at gmail.com> wrote:
> video_element.src="http://www.double.co.nz/video_test/ascannerdarkly480.ogg";
> video_element.currentTime=10;
> video_element.play();

You can use:

v.src = "foo.ogg";
v.addEventListener("loadedmetadata", function() { v.currentTime=10;
v.play(); }, false);

Chris.
-- 
http://www.bluishcoder.co.nz
Received on Tuesday, 11 November 2008 23:16:42 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:07 UTC