modifié: video.html

This commit is contained in:
sidya82 2014-02-28 03:11:07 +01:00
parent c07cce4ba4
commit 38f40916d2

View File

@ -8,12 +8,14 @@
<script type="text/javascript" >
$(document).ready( function() {
$.ajax({
type: "POST",
url:'/ajax',
contentType: "image/jpeg",
success: function(data){
$('#image').html("<img src='data:image/jpeg;base64,"+data+"'>");?)}
var str = "<img src='data:image/jpeg;base64,"+data+"'>";
$('#image').html(str);?)}
});
})