modifié: video.html

This commit is contained in:
sidya82 2014-02-28 02:21:18 +01:00
parent 84b68e4898
commit fc6c717b49

View File

@ -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>