Internet explorer jplayer只能在chrome中工作
首先,对于这个可能显而易见的问题,我查了一些问题,但似乎并没有人有类似的问题。我试图通过jplayer播放流,但它似乎只在chrome中工作,我想流链接可能会有问题,因为在IE和Firefox中它以下载方式打开,而在opera和chrome中则开始播放,但为什么我的jplayer也不会在opera中播放呢。我的代码如下:如果可能的话,请保持答案简单,因为这对我来说有点陌生:Internet explorer jplayer只能在chrome中工作,internet-explorer,google-chrome,firefox,opera,jplayer,Internet Explorer,Google Chrome,Firefox,Opera,Jplayer,首先,对于这个可能显而易见的问题,我查了一些问题,但似乎并没有人有类似的问题。我试图通过jplayer播放流,但它似乎只在chrome中工作,我想流链接可能会有问题,因为在IE和Firefox中它以下载方式打开,而在opera和chrome中则开始播放,但为什么我的jplayer也不会在opera中播放呢。我的代码如下:如果可能的话,请保持答案简单,因为这对我来说有点陌生: <html> <head> <title> i-radio
<html>
<head>
<title> i-radio SWH Rock</title>
<link type="text/css" href="jplayer.blue.monday.css" rel="stylesheet" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript" src="jquery.jplayer.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#jquery_jplayer_1").jPlayer({
ready: function () {
$(this).jPlayer("setMedia", {
mp3: "http://80.232.162.149:8000/rock96mp3"
});
},
swfPath: "/js",
supplied: "mp3",
wmode: "window"
});
});
</script>
</head>
<body>
<div id="jquery_jplayer_1" class="jp-jplayer"></div>
<div id="jp_container_1" class="jp-audio">
<div class="jp-type-single">
<div class="jp-gui jp-interface">
<ul class="jp-controls">
<li><a href="javascript:;" class="jp-play" tabindex="1">play</a></li>
<li><a href="javascript:;" class="jp-pause" tabindex="1">pause</a></li>
<li><a href="javascript:;" class="jp-stop" tabindex="1">stop</a></li>
<li><a href="javascript:;" class="jp-mute" tabindex="1" title="mute">mute</a></li>
<li><a href="javascript:;" class="jp-unmute" tabindex="1" title="unmute">unmute</a></li>
<li><a href="javascript:;" class="jp-volume-max" tabindex="1" title="max volume">max volume</a></li>
</ul>
<div class="jp-progress">
<div class="jp-seek-bar">
<div class="jp-play-bar"></div>
</div>
</div>
<div class="jp-volume-bar">
<div class="jp-volume-bar-value"></div>
</div>
<div class="jp-time-holder">
<div class="jp-current-time"></div>
<div class="jp-duration"></div>
<ul class="jp-toggles">
<li><a href="javascript:;" class="jp-repeat" tabindex="1" title="repeat">repeat</a></li>
<li><a href="javascript:;" class="jp-repeat-off" tabindex="1" title="repeat off">repeat off</a></li>
</ul>
</div>
</div>
<div class="jp-title">
<ul>
<li>SWH Rock</li>
</ul>
</div>
<div class="jp-no-solution">
<span>Update Required</span>
To play the media you will need to either update your browser to a recent version or update your <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash plugin</a>.
</div>
</div>
</div>
</body>
</html>
i-radio SWH-Rock
$(文档).ready(函数(){
$(“#jquery_jplayer_1”).jplayer({
就绪:函数(){
$(this).jPlayer(“setMedia”{
mp3:“http://80.232.162.149:8000/rock96mp3"
});
},
swfPath:“/js”,
提供:“mp3”,
wmode:“窗口”
});
});
- SWH岩石
需要更新
要播放媒体,您需要将浏览器更新为最新版本,或更新浏览器。
过去,我在IE中遇到了jplayer问题。我必须在IE上更新Adobe Flash player才能正常工作。尝试安装/更新Flash Player,重新启动浏览器,看看这是否解决了问题。ok发现问题,我忘记为swfpath文件创建文件夹,有点傻。现在一切正常