- From: Dominique Hazael-Massieux via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 04 Aug 2010 17:17:38 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/camera
In directory hutz:/tmp/cvs-serv1868
Modified Files:
Overview.html
Log Message:
changed duration to be a float in seconds, for consistency with HTMLMediaElement.duration
Index: Overview.html
===================================================================
RCS file: /sources/public/2009/dap/camera/Overview.html,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -d -r1.107 -r1.108
--- Overview.html 4 Aug 2010 13:41:48 -0000 1.107
+++ Overview.html 4 Aug 2010 17:17:36 -0000 1.108
@@ -143,7 +143,7 @@
if (mainType === "image") {
mediaDescriptionNode.appendChild(document.createTextNode("This is an image of dimensions " + <a href="#widl-MediaFileData-width">formatData.width</a> + "x" + <a href="#widl-MediaFileData-height">formatData.height</a>);
} else {
- mediaDescriptionNode.appendChild(document.createTextNode("Duration: " + (<a href="#widl-MediaFileData-duration">formatData.duration</a> / 1000) + "s");
+ mediaDescriptionNode.appendChild(document.createTextNode("Duration: " + <a href="#widl-MediaFileData-duration">formatData.duration</a> + "s");
}
captureInput.parentNode.insertBefore(mediaDescriptionNode, captureInput);
}
@@ -189,9 +189,9 @@
<dd>The width attribute represents width of the image or video
in pixels. In the case of a sound clip this attribute has value 0.</dd>
- <dt>attribute double duration </dt>
+ <dt>attribute float duration </dt>
<dd>The duration attribute represents length of the video or sound
- clip in milliseconds. In the case of an image this attribute has value 0.</dd>
+ clip in seconds. In the case of an image this attribute has value 0.</dd>
</dl>
<p class="note">Some of the proposed attributes of the <code>MediaFileData</code> interface could possibly be integrated as parameters of the MIME type, or as MIME options object.</p>
Received on Wednesday, 4 August 2010 17:17:39 UTC