modifié: video.html
This commit is contained in:
parent
c07cce4ba4
commit
38f40916d2
@ -8,12 +8,14 @@
|
|||||||
<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/jpeg",
|
contentType: "image/jpeg",
|
||||||
success: function(data){
|
success: function(data){
|
||||||
$('#image').html("<img src='data:image/jpeg;base64,"+data+"'>");?)}
|
var str = "<img src='data:image/jpeg;base64,"+data+"'>";
|
||||||
|
$('#image').html(str);?)}
|
||||||
});
|
});
|
||||||
|
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user