Correct mime type for .mp4

html5-videomime-typesvideo

I have two applications as mentioned below:

  1. Admin application through which I am able to upload a .mp4 file to the server.
  2. I am trying to download the .mp4 using mobile application in iPad.

  • The Admin application is made by using asp.net 4.0 and SQL Server, IIS7.
  • The Mobile application is made of asp.net mvc3, jquerymobile, HTML5.

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

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.

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

Best Answer

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

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.