I have an input element with type set to file which I am using to upload files. The problem is it also accepts images but I don't want that. I only want videos to be accepted. Is there a way to go about it?
<input
type="file"
id="file"
ref={inputFile}
onChange={(event) => handleVideoUpload(event.target.files[0])}
}