<input type='file' accept=".mp4, .avi, .mov" onchange="convertVideo(this)" /> import VideoConverter from 'convert-video' async function convertVideo(input) { let ...