DEV Community

Discussion on: Download Any File from Blob

Collapse
 
nombrekeff profile image
Keff

I think you can do it the same way, you just need to first convert the video into a blob, then you can pass it to the function as follows:

const videoBlob = createVideoBlob(video);
downloadBlob(videoBlob, 'myvideo.mp4');
Enter fullscreen mode Exit fullscreen mode