- From: Dominique Hazael-Massieux via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 17 Mar 2010 10:14:36 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/camera
In directory hutz:/tmp/cvs-serv16781
Modified Files:
Overview.html
Log Message:
simplifying code
Index: Overview.html
===================================================================
RCS file: /sources/public/2009/dap/camera/Overview.html,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- Overview.html 17 Mar 2010 10:13:25 -0000 1.42
+++ Overview.html 17 Mar 2010 10:14:34 -0000 1.43
@@ -342,7 +342,7 @@
var inp = document.createElement("input");
inp.type = "file";
inp.accept = "video/*";
- inp.onchange = function () { sucCB(this.files[0]); };
+ inp.onchange = setupVideo(this.files[0]);
// this is only possible in trusted environments
// the click event cannot be synthetized by default
inp.click();
@@ -372,7 +372,7 @@
}
</script>
- <button onclick='getVideo(setupVideo);'>Film your face!</button>
+ <button onclick='getVideo();'>Film your face!</button>
<video id='my-video'></video>
<button id='start'>Start</button>
<button id='stop'>Stop</button>
Received on Wednesday, 17 March 2010 10:14:37 UTC