Hi there,
jPlayer is working well in both Firefox and Safari, but not in Chrome;
it does not even trigger errors. Here are the js-files I include:
<script type="text/javascript" src="/static_media/js/
jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="/static_media/js/
jquery.prettyLoader.js" charset="utf-8"></script>
<script type="text/javascript" src="/static_media/js/
jquery.timers.js"></script>
<script type="text/javascript" src="/static_media/js/jplayer/
jquery.jplayer.min.js"></script>
Here the player code:
<script type="text/javascript">
$(document).ready(function() {
$("#jquery_jplayer_1").jPlayer({
ready: function () {
this.element.jPlayer("setFile", "/static_media/user_content/
mp3/1/1-462537059.mp3"); //
},
volume: 80,
oggSupport: false,
swfPath: "/static_media/js/jplayer",
nativeSupport: false
})
.jPlayer("onProgressChange", function(loadPercent,
playedPercentRelative, playedPercentAbsolute, playedTime, totalTime) {
$('#jplayer_play_time').text($.jPlayer.convertTime(playedTime));
$('#jplayer_total_time').text($.jPlayer.convertTime(totalTime));
});
});
</script>
and here the HTML-Code if the player panel:
<div id="jquery_jplayer_1"></div>
<div class="jp-single-player">
<div class="jp-interface">
<ul class="jp-controls">
<li><a href="#" id="jplayer_play" class="jp-play"
tabindex="1">play</a></li>
<li><a href="#" id="jplayer_pause" class="jp-pause"
tabindex="1">pause</a></li>
<li><a href="#" id="jplayer_volume_min" class="jp-volume-min"
tabindex="1">min volume</a></li>
<li><a href="#" id="jplayer_volume_max" class="jp-volume-max"
tabindex="1">max volume</a></li>
</ul>
<div class="jp-progress">
<div id="jplayer_load_bar" class="jp-load-bar">
<div id="jplayer_play_bar" class="jp-play-bar"></div>
</div>
</div>
<div id="jplayer_volume_bar" class="jp-volume-bar">
<div id="jplayer_volume_bar_value" class="jp-volume-bar-value"></
div>
</div>
<div id="jplayer_play_time" class="jp-play-time"></div>
<div id="jplayer_total_time" class="jp-total-time"></div>
</div>
</div>
I'm using Chrome 5.0.375.55 beta. Is there anything wrong in my code
or maybe just a "beta"-issue of chrome?
Thanks a lot
Stefan
--
You received this message because you are subscribed to the Google Groups "jPlayer: the CSS styleable jQuery audio player plugin" group.
To post to this group, send email to
jpl...@googlegroups.com.
To unsubscribe from this group, send email to
jplayer+u...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/jplayer?hl=en.