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
Release: 2016-06-24 11:51:29
Original
1685 people have browsed it

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-->
Copy after login


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?



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



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




But why did I write it like that? Is it usable?
I don’t really understand either
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template