html - Which video formats are accetable? -


i search in google , didn't found.
want know, when use input file that:

<input type="file" accept="video/*"> 

which video formats can uploaded?

i try upload .flv & browser ignore it.

is there different between browsers ? mobile browsers?

form controls need name attribute otherwise form they're associated ignores them:

<input type="file" name="upload" accept="video/*"> 

as video formats allowed, depends on os , browser. example, on system (window 10), firefox preselects these extensions:

*.avi;*.divx;*.flv;*.m4v;*.mkv;*.mov;*.mp4;*.mpeg;*.mpg;*.ogm;*.ogv;*.ogx;*.rm;*.rmvb;*.smil;*.webm;*.wmv;*.xvid


Comments

Popular posts from this blog

php - Autoloader issue not returning Class -

python - Getting next two indexes regardless of current index -

ruby - Prevent Custom Validation Error on Association -