您能否建议我一个可以在 Internet Explorer 9 中顺利运行的 mp3 jplayer 链接?我找到了一个,但它在 IE 9 中不起作用并给出以下错误消息。
错误:-
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.
这是我的代码:-
</script>
<script type="text/javascript">
function loadmedia() {
$('#jquery_jplayer_1').jPlayer('setMedia', {
mp3: 'http://lecion.blob.core.windows.net/sixty-vocab-files//UploadSound/7fd752a6-97ef-4a99-b324-a160295b8ac4/43/Kalimba.mp3'
});
}
$(document).ready(function () {
$('#jquery_jplayer_1').jPlayer({
ready: loadmedia,
swfPath: 'Jplayer.swf',
//solution: 'flash,html',
errorAlerts: true,
supplied: 'mp3',
// wmode: 'window'
});
});
</script>
<script src="jquery.jplayer.min.js" type="text/javascript" ></script>
我会感谢你的。