Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

upload bloob javascript

var fd = new FormData();
fd.append('fname', 'test.wav');
fd.append('data', soundBlob);
$.ajax({
    type: 'POST',
    url: '/upload.php',
    data: fd,
    processData: false,
    contentType: false
}).done(function(data) {
       console.log(data);
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #upload #bloob #javascript
ADD COMMENT
Topic
Name
8+6 =