码迷,mamicode.com
首页 > Windows程序 > 详细

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

时间:2015-09-06 16:26:14      阅读:513      评论:0      收藏:0      [点我收藏+]

标签:

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

版权声明:本文为博主原创文章,未经博主允许不得转载。

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

标签:

原文地址:http://blog.csdn.net/jameszhou/article/details/48244959

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!