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 () { 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 solution: "flash, html", 25 supplied: "m4a, oga", 26 wmode: "window", 27 useStateClassSkin: true, 28 autoBlur: false, 29 smoothPlayBar: true, 30 keyEnabled: true, 31 remainingDuration: true, 32 toggleDuration: true 33 }); 34}); 35//]]> 36</script> 37</head> 38<body> 39<div id="jquery_jplayer_1" class="jp-jplayer"></div> 40<div id="jp_container_1" class="jp-audio" role="application" aria-label="media player"> 41 <div class="jp-type-single"> 42 <div class="jp-gui jp-interface"> 43 <div class="jp-volume-controls"> 44 <button class="jp-mute" role="button" tabindex="0">mute</button> 45 <button class="jp-volume-max" role="button" tabindex="0">max volume</button> 46 <div class="jp-volume-bar"> 47 <div class="jp-volume-bar-value"></div> 48 </div> 49 </div> 50 <div class="jp-controls-holder"> 51 <div class="jp-controls"> 52 <button class="jp-play" role="button" tabindex="0">play</button> 53 <button class="jp-stop" role="button" tabindex="0">stop</button> 54 </div> 55 <div class="jp-progress"> 56 <div class="jp-seek-bar"> 57 <div class="jp-play-bar"></div> 58 </div> 59 </div> 60 <div class="jp-current-time" role="timer" aria-label="time"> </div> 61 <div class="jp-duration" role="timer" aria-label="duration"> </div> 62 <div class="jp-toggles"> 63 <button class="jp-repeat" role="button" tabindex="0">repeat</button> 64 </div> 65 </div> 66 </div> 67 <div class="jp-details"> 68 <div class="jp-title" aria-label="title"> </div> 69 </div> 70 <div class="jp-no-solution"> 71 <span>Update Required</span> 72 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>. 73 </div> 74 </div> 75</div> 76</body> 77 78</html> 79