43081j / id3

A JavaScript ID3 tags parser for Node & browsers.
MIT License
335 stars 63 forks source link

Add Blob Type #59

Open JavanShen opened 1 year ago

JavanShen commented 1 year ago

I think the fromFile() method parameter should accept the Blob type, I tried to pass in a Blob object and it works https://developer.mozilla.org/zh-CN/docs/Web/API/FileReader/readAsArrayBuffer