modifié: v/video.html

This commit is contained in:
sidya82 2014-03-03 21:54:34 +01:00
parent 9fc451a2b5
commit 904d5a8dd9

View File

@ -6,7 +6,7 @@
<title>Acces camera</title> <title>Acces camera</title>
<script src="js/jquery-2.1.0.min.js"></script> <script src="js/jquery-2.1.0.min.js"></script>
<script > <script >
var ws = new WebSocket ("{{ url }}/"); var ws = new WebSocket ("{{ url }}");
ws.onmessage = function (evt) { ws.onmessage = function (evt) {
console.log("data receive"); console.log("data receive");
if(evt.data != "error") { if(evt.data != "error") {