Internet Explorer 9无法播放jQuery MP3插件 [英] Internet explorer 9 not playing jquery mp3 plugin

查看:118
本文介绍了Internet Explorer 9无法播放jQuery MP3插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的jQuery mp3插件播放一个放在远程服务器上的mp3文件.它正在Firefox中播放.但是当我尝试在Internet Explorer 9中播放时,它说. **

My jquery mp3 plugin plays a mp3 file that is placed on a remote serve.it is playing it in Firefox.But when i try to play it in internet explorer 9 ,it says. **

Jplayer 2.1.0:id='jquery_jplayer_1':Error!
Media URL could not be loaded.
Check media URL is valid.
Context:Address of mp3 file that is placed remotely.


这是一个URL链接.
http://lecion.blob.core.windows.net/sixty-vocab-files//UploadSound/7fd752a6-97ef-4a99-b324-a160295b8ac4/43/Kalimba.mp3 [


This is a URL link.
http://lecion.blob.core.windows.net/sixty-vocab-files//UploadSound/7fd752a6-97ef-4a99-b324-a160295b8ac4/43/Kalimba.mp3[^]
I am unable to understand why it is happening so. Help Friends. Thanks

推荐答案

您的服务器(lecion.blob.core.windows.net)可能为mp3-文件发送了错误的mime类型.您必须将音频/mpeg3添加为.mp3文件的mime类型.

您必须在服务器上执行此操作.如果它支持.NET,则可以在web.config文件中执行此操作.
Your server (lecion.blob.core.windows.net) is probably sending the wrong mime types for the mp3-file. You have to add audio/mpeg3 as mime type for .mp3 files.

you have to do this on the server. If it supports .NET you can do this in a web.config file.
<configuration>
    <system.webserver>
        <staticcontent>
            <mimemap fileextension=".mp3" mimetype="audio/mpeg3" />
        </staticcontent>
    </system.webserver>
</configuration>


这篇关于Internet Explorer 9无法播放jQuery MP3插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆