Windows Azure - Error of "MEDIA12899: AUDIO/VIDEO: Unknown MIME type" and Blob Storage

来源:互联网 发布:手机屏幕坏了导出数据 编辑:程序博客网 时间:2024/06/06 18:05

We have a Azure website using JPlayer to play audio/video (mp3 or mp4) stored in Azure Blob storage. Some media is playing well, while some never play on Windows 7 IE 11 with below console error:

MEDIA12899: AUDIO/VIDEO: Unknown MIME type


Then we noticed the content-type of the not playing blob file is something like "application/octet-stream", after fix it to "audio/mpeg" for mp3 and "video/mp4" for mp4 the problem gone


LINK - http://stackoverflow.com/questions/10040403/set-content-type-of-media-files-stored-on-blob

0 0