Safari <input type=“file” accept=“video/*”> ignores mp4 files

后端 未结 2 1637
余生分开走
余生分开走 2020-12-13 12:09

I am using an HTML file input like this:

 

to allow my users to upload videos to my site. Th

2条回答
  •  温柔的废话
    2020-12-13 12:43

    You can take a look at webkit source code ~/Source/WebCore/platform/MIMETypeRegistry.cpp.

    These types are customized by Apple for Safari, and may not be working on other browsers.

提交回复
热议问题