- From: Dominique Hazael-Massieux via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 17 Mar 2010 10:15:41 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/camera
In directory hutz:/tmp/cvs-serv16986
Modified Files:
Overview.html
Log Message:
plug send() function in an Upload button in viewfinder example
Index: Overview.html
===================================================================
RCS file: /sources/public/2009/dap/camera/Overview.html,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- Overview.html 17 Mar 2010 10:14:34 -0000 1.43
+++ Overview.html 17 Mar 2010 10:15:38 -0000 1.44
@@ -356,6 +356,7 @@
blob = bb.getBlob();
document.getElementById("start").onclick = function () { vf.startCapture(bb.getBlob()); }
document.getElementById("stop").onclick = function () { vf.stopCapture(); }
+ document.getElementById("send").onclick = function () { send(); }
}
function send () {
@@ -376,6 +377,7 @@
<video id='my-video'></video>
<button id='start'>Start</button>
<button id='stop'>Stop</button>
+ <button id='send'>Upload</button>
</pre>
<p class="issue">Currently version of XHR.send() that can take a blob as an input parameter doesn't exist. This must be probably fixed in XHR 2 specification.</p>
Received on Wednesday, 17 March 2010 10:15:43 UTC