2009/dap/camera Overview-API.html,1.2,1.3

Update of /sources/public/2009/dap/camera
In directory hutz:/tmp/cvs-serv3828

Modified Files:
	Overview-API.html 
Log Message:

Removed form based capturing section and appendix A. Media Capture API
spec should be consistent again.



Index: Overview-API.html
===================================================================
RCS file: /sources/public/2009/dap/camera/Overview-API.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Overview-API.html	7 Jul 2010 07:18:27 -0000	1.2
+++ Overview-API.html	7 Jul 2010 07:23:55 -0000	1.3
@@ -403,56 +403,6 @@
   </section>
   </section>
 
-  <section id="formaccess">
-
-  <h2>Capture Input Selection</h2>
-
-  <p>In addition to programmable API, content can be acquired from
-  capture devices through a file-select control.</p>
-
-    <section id="capture">
-    <h2>Capture aware file-select control</h2>
-
-    <p>This section is non-normative.</p>
-
-    <p>If input element in the File Upload state [[HTML5]] contains
-    accept attribute with values <code>image/*</code>,
-    <code>sound/*</code>, or <code>video/*</code>, the user agent can
-    invoke a file picker that allows respectively the user to take a
-    picture, record a sound file, or record a video in addition to
-    selecting an existing file from the file system.</p>
-
-    <p>See the <a href="#uiexamples">User Interface Examples</a> appendix for the illustration.
-
-    <p>In case the user chooses to capture video, audio, or image
-    content, the user agent creates media files on the fly as
-    specified in [[HTML5]].</p>
-
-    <pre class="example sh_javascript_dom">&lt;input id="cameraInput" type="file" accept="image/*"&gt; </pre>
-
-    <p>In trusted environments the click event of file input element
-    can be synthesised as follows:</p>
-
-    <pre class="example sh_javascript_dom">
-
-&lt;input id="cameraInput" onchange="successCB();" type="file" accept="image/*"&gt; 
-
-&lt;script&gt;
-
-function successCB() {
-  // Read the image using file-reader or submit the form
-}
-
-document.getElementById('cameraInput').click();
-
-&lt;/script&gt;
-
-</pre>
-
-</section>
-
-</section>
-
 <section class='appendix' id="related">
 <h2>Related documents</h2>
 <p>The API described in this document took inspiration from the following documents:</p>
@@ -463,14 +413,6 @@
 </li></ul>
 </section>
 
-<section class='appendix' id="uiexamples">
-<h2>User Interface Examples</h2>
-
-<p>Capture API aware file picker might render as:
-
-<p><img alt="A File picker with camera support" src="capture-api-file-picker-concept.png"></p> 
-</section>
-
 <section class='appendix' id="future">
 <h2>Features for Future Consideration</h2>
 

Received on Wednesday, 7 July 2010 07:23:59 UTC