View Single Post
Old 26th May 2014, 17:51   #4
Major Dude
dopelabs's Avatar
Join Date: Oct 2006
Location: Silicon Valley
Posts: 531
Send a message via AIM to dopelabs
actually i must have been thinking about a different player..


Tested against safari/firefox/opera/chrome

Defaults to using flash if the browser supports it, otherwise fallback to native support.


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="skin/blue.monday/" rel="stylesheet" type="text/css" />
<script type="text/javascript" src=""></script>
<script type="text/javascript" src="js/jquery.jplayer.min.js"></script>
<script type="text/javascript">
ready: function () {
$(this).jPlayer("setMedia", {
title: "256K MP3",
mp3: ";"
swfPath: "js",
solution: "flash, html",
supplied: "mp3",
smoothPlayBar: true,
keyEnabled: true,
remainingDuration: false,
toggleDuration: false
<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>
<div class="jp-progress">
<div class="jp-seek-bar">
<div class="jp-play-bar"></div>
<div class="jp-volume-bar">
<div class="jp-volume-bar-value"></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>
<div class="jp-details">
<li><span class="jp-title"></span></li>
<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="" target="_blank">Flash plugin</a>.

dopelabs is offline   Reply With Quote