Attention: We are retiring the ASP.NET Community Blogs. Learn more >

Contents tagged with MP4

  • MIME Type for .MP4 files is video/mp4

    I almost made a mistake and put the wrong MIME Type into IIS7 for some MP4 videos that I am serving from a web server.  A search for “MP4 mime type” returns two different results:

    • video/mp4 (correct)
    • video/mpeg (not correct)

    I was not so sure if there was a difference (although most results did lean toward video/mp4, there were a good number of video/mpeg recommendations out there to make me question the correct one).

    To resolve the issue I tried both in IIS7 and Chrome.

    For video/mp4 Chrome will give you the HTML5 video player (a very nice user experience):

    image

     

    For video/mpeg Chrome will launch QuickTime... blah!

    image

     

    I didn’t test any other browsers... this was proof enough for me that video/mp4 is the correct MIME type of .MP4 files.

     

    Technorati Tags: ,,