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

本文解决使用JPlayer在Azure Blob存储中播放mp3或mp4格式音频/视频文件时遇到的未知MIME类型错误问题。通过修改文件内容类型为正确的audio/mpeg或video/mp4,解决了Windows 7 IE11上的播放问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值