[Bug 12541] Media Element seeking: the asynchronous behaviour of steps 5-12 causes unexpected, unwanted behaviour when getting the currentTime immediately after it's been set.

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12541

--- Comment #5 from Simon Pieters <simonp@opera.com> 2011-06-17 21:49:17 UTC ---
(In reply to comment #3)
> In any case, it important that currentTime be
> updated to the new value even before we know if it's possible to seek to that
> position, or the seekbar UI would seem very laggy/jumpy.

It appears that the spec doesn't do this currently. Setting currentTime invokes
seek which changes the "current playback position" async. Getting currentTime
returns "current playback position". So getting currentTime immediately after
setting it would return the old time per spec.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 17 June 2011 21:49:23 UTC