- From: Dominique Hazael-Massieux <dom@w3.org>
- Date: Wed, 04 Aug 2010 19:17:48 +0200
- To: Eric Carlson <eric.carlson@apple.com>
- Cc: public-html@w3.org, tlr@w3.org, robin@robineko.com, "frederick.hirsch" <frederick.hirsch@nokia.com>, public-device-apis@w3.org
Le mercredi 04 août 2010 à 09:54 -0700, Eric Carlson a écrit : > Why does MediaFileData.duration specify the file length of a clip in > milliseconds? All time value attributes of an HTML5 media element, > including duration, are in seconds. > Is there a reason to be different? I think the reason why we chose milliseconds initially was that a number of JavaScript APIs use milliseconds (setTimeout, setTimeinterval, the timeout parameter in geolocation to name a few); but given that the name duration matches exactly the one in HTML5, and given the stronger relationship between these API and HTML5 MediaElement, I've switched duration to be a float number in seconds. Dom
Received on Wednesday, 4 August 2010 17:18:05 UTC