- From: Dominique Hazael-Massieux via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 16 Jul 2010 13:41:39 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/camera
In directory hutz:/tmp/cvs-serv9598
Modified Files:
Overview.html
Log Message:
added example for capture parameter
Index: Overview.html
===================================================================
RCS file: /sources/public/2009/dap/camera/Overview.html,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -d -r1.92 -r1.93
--- Overview.html 16 Jul 2010 12:06:46 -0000 1.92
+++ Overview.html 16 Jul 2010 13:41:37 -0000 1.93
@@ -173,7 +173,7 @@
current captured content instead of <code>FileList</code>
[[!FILE-API]] object as specified in [[!HTML5]].
- <pre class="example sh_javascript_dom"><input id="cameraInput" type="file" accept="image/*"> </pre>
+ <pre class="example sh_javascript_dom"><input type="file" accept="image/*"> </pre>
</section>
@@ -191,6 +191,8 @@
<p>The <code>capture</code> parameter can take one of the following values: <code>camera</code>, <code>camcorder</code>, <code>microphone</code>, <code>filesystem</code>. These values indicate which source the file picker interface should preferably present to the user by default.</p>
<p class="note">The values and their exact meaning are still very much in flux.</p>
+
+ <pre class="example sh_javascript_dom"><input type="file" accept="image/*;capture=camera"> </pre>
</section>
<section class='appendix' id="uiexamples">
Received on Friday, 16 July 2010 13:41:41 UTC