Commit e8e8d10b10679f0d7a6218b2e7fa8a28daad8223
1 parent
0bdcc938
fix: blob data needs to be array
Showing
1 changed file
with
1 additions
and
1 deletions
content/audio_download.js
@@ -18,7 +18,7 @@ recorder.onstop = function(e){ | @@ -18,7 +18,7 @@ recorder.onstop = function(e){ | ||
18 | recorder.start(1000); | 18 | recorder.start(1000); |
19 | 19 | ||
20 | function saveBlobData(data){ | 20 | function saveBlobData(data){ |
21 | - const blob = new Blob(data, { | 21 | + const blob = new Blob([data], { |
22 | type: mimeType | 22 | type: mimeType |
23 | }); | 23 | }); |
24 | const url = URL.createObjectURL(blob); | 24 | const url = URL.createObjectURL(blob); |