[whatwg] Issue when Video currentTime used for seeking.

Chris Double chris.double at double.co.nz
Tue Nov 11 23:16:42 PST 2008


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



More information about the whatwg mailing list