modifié: video.html
This commit is contained in:
parent
84b68e4898
commit
fc6c717b49
@ -6,15 +6,15 @@
|
|||||||
<title>Acces camera</title>
|
<title>Acces camera</title>
|
||||||
<script type="text/javascript" >
|
<script type="text/javascript" >
|
||||||
|
|
||||||
$(document).ready( function() {
|
$(document).ready( function() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "POST",
|
type: "POST",
|
||||||
url:'/ajax',
|
url:'/ajax',
|
||||||
contentType: "image/jpg",
|
contentType: "image/jpg",
|
||||||
success: function(data){
|
success: function(data){
|
||||||
$('.image').html('<img src="data:image/png;base64,' + data + '" />'); },
|
$('.image').html('<img src="data:image/png;base64,' + data + '" />'); }
|
||||||
} );
|
});
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
Reference in New Issue
Block a user