javascript如何上傳blob?我在這個結構中有一個blob數據:Blob {type: "audio/wav", size: 655404, slice: function}size: 655404type: "audio/wav"__proto__: Blob它實際上是使用最近的Chrome getUerMedia()和Recorder.js記錄的聲音數據如何使用jquery的post方法將此blob上傳到服務器?我沒試過就試過這個: $.post('http://localhost/upload.php', { fname: "test.wav", data: soundBlob },
function(responseText) {
console.log(responseText);
});
javascript如何上傳blob?
繁星淼淼
2019-07-24 10:04:21
