正确的.mp4的mime类型 [英] Correct mime type for .mp4

查看:1364
本文介绍了正确的.mp4的mime类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个如下所述的应用程序:

I have two applications as mentioned below:


  1. 管理员应用程序,通过它我可以将.mp4文件上传到服务器。

  2. 我正在尝试使用iPad中的移动应用程序下载.mp4。







  • 管理员应用程序是使用asp.net 4.0和SQL Server,IIS7制作的。

  • 移动应用程序由asp.net mvc3,jquerymobile,HTML5。

  • 截至目前我添加了mime类型 video / mp4 在IIS7 mime类型部分中为.mp4。

    As of now I have added mime type video/mp4 for .mp4 in IIS7 mime types section.

    当我尝试在iPad中下载.mp4文件时,我看到一个黑色的黑屏十字箭头就可以了。任何人都可以帮我解决这个问题。

    When I am trying to download the .mp4 file in iPad I am seeing a dark black screen with cross arrow on it. Can anyone please help me to resolve the issue.

    请告诉我mime类型 video / mp4 是否适合。 mp4是正确的。

    Please tell me whether the mime type video/mp4 for .mp4 is correct.

    推荐答案

    根据 RFC 4337 §2, video / mp4 确实是MPEG-4视频的正确内容类型。

    According to RFC 4337 § 2, video/mp4 is indeed the correct Content-Type for MPEG-4 video.

    通常,您可以通过搜索文件扩展名和IETF或RFC来查找官方MIME定义。 IETF(Internet工程任务组)发布的RFC(Request for Comments)文章定义了许多Internet标准,包括MIME类型。

    Generally, you can find official MIME definitions by searching for the file extension and "IETF" or "RFC". The RFC (Request for Comments) articles published by the IETF (Internet Engineering Taskforce) define many Internet standards, including MIME types.

    这篇关于正确的.mp4的mime类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆