Home >Web Front-end >HTML Tutorial >Does the input tag not support uploading flv files? _html/css_WEB-ITnose

Does the input tag not support uploading flv files? _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:51:291680browse

For example:

I use input to upload video files in flv format, but the filtering results are not displayed in chrome and cheetah browsers

<input id="btn_1" class="selectbtn" type="file"  accept="video/x-flv" /><!--第一种MIME-Type--><br /><input id="btn_2" class="selectbtn" type="file" accept="flv-application/octet-stream" /><!--第二种MIME-Type--><br /><input id="btn_3" class="selectbtn" type="file" accept="video/avi" /><!--用于测试MIME-Type-->


Three types Screenshots of the situation
1.

2.

3.


The first and second situations cannot be filtered like the third situation, how to solve it


Reply to the discussion (solution)

Can anyone help?

I can’t find anything related online Is there a solution to the problem that no one has encountered before?

69b6a264411bba466f3db9ce7da434ef

69b6a264411bba466f3db9ce7da434ef



It turns out it’s just that simple, I thought too much

69b6a264411bba466f3db9ce7da434ef



But why can it be used on IE when I write it like that?


69b6a264411bba466f3db9ce7da434ef



But why did I write it like that? Is it usable?
I don’t really understand either
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn