W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > August 2011

[Bug 13871] <video> behavior when setting currentTime to current playback position

From: <bugzilla@jessica.w3.org>
Date: Fri, 26 Aug 2011 09:50:34 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Qwt3a-0004JT-St@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13871

--- Comment #10 from Simon Pieters <simonp@opera.com> 2011-08-26 09:50:34 UTC ---
(In reply to comment #8)
> better code have been written as:
> 
> c.onclick = function() {
>   if ( v.readyState > HTMLMediaElement.HAVE_NOTHING ) {
>     var newTime = /* calculate new pos based on click position and duration */;
>     v.currentTime = newTime;
>     s.display = 'block';
>   }
> };
> 
> one might conclude your example was broken in the first place

It would still break in exactly the same way after this change.

-- 
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, 26 August 2011 09:50:36 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:17 UTC