Nati Vaknin Nati Vaknin - 9 months ago 61
HTML Question

Which video formats are accetable?

I search in google and I didn't found.

I want to know, when I use input file like that:

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

Which video formats can be uploaded?

I try to upload .flv & the browser ignore it.

Is there is any different between browsers ? mobile browsers?

Answer Source

Form controls need a name attribute otherwise the form they're associated with ignores them:

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

As for which video formats are allowed, it really depends on the OS and browser. For example, on my system (Window 10), Firefox preselects these extensions: