modifié: v/video.html
This commit is contained in:
parent
9fc451a2b5
commit
904d5a8dd9
@ -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") {
|
||||||
|
Reference in New Issue
Block a user