简体   繁体   中英

What's the best MIME type for video on the web?

I'm the admin for a large media intensive site. We've done some experimentation with our video MIME types. We've alternated between forcing the download using Content-Disposition: attachment + Content-type: application/octet-stream and actually returning the proper MIME type.

We've had complaints either way we set it up. With the proper MIME type many people have broken or incompatible browser plugins that try to play the content, but fail due to either format incompatibility or other issues. This leaves us with support emails trying to help customers configure their broken browsers. On the other hand, not using the proper MIME types upsets people who like to click on a file and have the plugin launch shortly thereafter.

We've seen maybe 20% fewer complaints when forcing the browser to download the file, so we're pretty sure we're going to stick with that, but I'd like to hear what other people think about this, since it seems like a real gray area.

For the record our file formats are WMV, XviD, QT mpeg4 mov, and Ipod m4v along with streaming flash.

是否可以同时提供这两个选项(例如,两个链接,一个链接说“观看电影[使用浏览器插件]”,另一个链接说“下载文件[如果观看失败]”和一个FAQ条目或类似的内容来解释)问题并提供一些典型的解决方案)?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM