simple-mp3-cutter icon indicating copy to clipboard operation
simple-mp3-cutter copied to clipboard

How to use this in ReactJS ?

Open nikakhachi opened this issue 3 years ago • 1 comments

I've been having problem of cutting 128kbps mp3 files in valid chunks. I think this library can solve my problem.

But I can't find a way to load it in my React project.

nikakhachi avatar Feb 17 '22 09:02 nikakhachi

.
├── ...
├── public         
│   ├── simple-mp3-cutter
│        ├── lib
│        ├── src
│   ├── index.html
│   └── manifest.json    
└── ...

This is how I structured my public folder. I included loadFile function in script of index.html.

I am accessing it from any component with window.loadFile

I know, it's probably very newbie approach to the problem. I am open to the better options.

nikakhachi avatar Feb 17 '22 11:02 nikakhachi