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

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

laravel - Undefined property: Illuminate\Pagination\LengthAwarePaginator::$id (View: F:\project\resources\views\admin\carousels\index.blade.php) -