Next.js Discord

Discord Forum

Trying to create a File from a buffer array or blob always returns - File is not defined

Unanswered
Philippine Crocodile posted this in #help-forum
Open in Discord
Philippine CrocodileOP
I am downloading a video from youtube, and using the downloaded array buffer to create a file.

I don't want to store so I just create new File(audioValue, "audio.mp3", { type: 'audio/mp3' });

But I am getting File is not defined

0 Replies