1<!DOCTYPE html> 2<html> 3<head> 4<meta charset="utf-8" /> 5<!-- Website Design By: www.happyworm.com --> 6<title>Demo : jPlayer as an audio player</title> 7<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 8<link href="../../dist/skin/pink.flag/css/jplayer.pink.flag.min.css" rel="stylesheet" type="text/css" /> 9<script type="text/javascript" src="../../lib/jquery.min.js"></script> 10<script type="text/javascript" src="../../dist/jplayer/jquery.jplayer.min.js"></script> 11<script type="text/javascript"> 12//<![CDATA[ 13$(document).ready(function(){ 14 15 $("#jquery_jplayer_1").jPlayer({ 16 ready: function (event) { 17 $(this).jPlayer("setMedia", { 18 title: "Bubble", 19 m4a: "http://jplayer.org/audio/m4a/Miaow-07-Bubble.m4a", 20 oga: "http://jplayer.org/audio/ogg/Miaow-07-Bubble.ogg" 21 }); 22 }, 23 swfPath: "../../dist/jplayer", 24 supplied: "m4a, oga", 25 wmode: "window", 26 useStateClassSkin: true, 27 autoBlur: false, 28 smoothPlayBar: true, 29 keyEnabled: true, 30 remainingDuration: true, 31 toggleDuration: true 32 }); 33}); 34//]]> 35</script> 36</head> 37<body> 38<div id="jquery_jplayer_1" class="jp-jplayer"></div> 39<div id="jp_container_1" class="jp-audio" role="application" aria-label="media player"> 40 <div class="jp-type-single"> 41 <div class="jp-gui jp-interface"> 42 <div class="jp-volume-controls"> 43 <button class="jp-mute" role="button" tabindex="0">mute</button> 44 <button class="jp-volume-max" role="button" tabindex="0">max volume</button> 45 <div class="jp-volume-bar"> 46 <div class="jp-volume-bar-value"></div> 47 </div> 48 </div> 49 <div class="jp-controls-holder"> 50 <div class="jp-controls"> 51 <button class="jp-play" role="button" tabindex="0">play</button> 52 <button class="jp-stop" role="button" tabindex="0">stop</button> 53 </div> 54 <div class="jp-progress"> 55 <div class="jp-seek-bar"> 56 <div class="jp-play-bar"></div> 57 </div> 58 </div> 59 <div class="jp-current-time" role="timer" aria-label="time"> </div> 60 <div class="jp-duration" role="timer" aria-label="duration"> </div> 61 <div class="jp-toggles"> 62 <button class="jp-repeat" role="button" tabindex="0">repeat</button> 63 </div> 64 </div> 65 </div> 66 <div class="jp-details"> 67 <div class="jp-title" aria-label="title"> </div> 68 </div> 69 <div class="jp-no-solution"> 70 <span>Update Required</span> 71 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>. 72 </div> 73 </div> 74</div> 75</body> 76 77</html> 78