Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Input file accept attribute not working

I want the user to select these files listed in the accept attributes. But its not allowing the user to select *.mov files. I am not sure why. Given below is the html I have used.

 <input type="file" tabindex="0"
                    accept="video/mov, video/3g2, video/3gp, video/3gp2, video/3gpp, video/asf, video/asx, video/avi, video/divx, video/m4v,  video/mp4, video/mpe, video/x-m4v, video/mpeg, video/mpg, video/ogg, video/wmv"
                    name="video">

I couldn't find much after googling. Any help is appreciated.

like image 487
Konza Avatar asked Sep 14 '25 03:09

Konza


1 Answers

Try video/quicktime

See https://trac.webkit.org/browser/trunk/Source/WebCore/platform/MIMETypeRegistry.cpp for webkit MIME types

like image 143
Mokkun Avatar answered Sep 16 '25 20:09

Mokkun