1<!DOCTYPE html> 2<html> 3<head> 4<meta charset="utf-8" /> 5<!-- Website Design By: www.happyworm.com --> 6<title>Demo : jPlayer as a video 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: "Big Buck Bunny", 19 m4v: "http://www.jplayer.org/video/m4v/Big_Buck_Bunny_Trailer.m4v", 20 poster: "http://www.jplayer.org/video/poster/Big_Buck_Bunny_Trailer_480x270.png" 21 }); 22 }, 23 swfPath: "../../dist/jplayer", 24 supplied: "m4v", 25 size: { 26 width: "640px", 27 height: "360px", 28 cssClass: "jp-video-360p" 29 }, 30 useStateClassSkin: true, 31 autoBlur: false, 32 smoothPlayBar: true, 33 keyEnabled: true, 34 remainingDuration: true, 35 toggleDuration: true 36 }); 37}); 38//]]> 39</script> 40</head> 41<body> 42<div id="jp_container_1" class="jp-video jp-video-360p" role="application" aria-label="media player"> 43 <div class="jp-type-single"> 44 <div id="jquery_jplayer_1" class="jp-jplayer"></div> 45 <div class="jp-gui"> 46 <div class="jp-video-play"> 47 <button class="jp-video-play-icon" role="button" tabindex="0">play</button> 48 </div> 49 <div class="jp-interface"> 50 <div class="jp-progress"> 51 <div class="jp-seek-bar"> 52 <div class="jp-play-bar"></div> 53 </div> 54 </div> 55 <div class="jp-current-time" role="timer" aria-label="time"> </div> 56 <div class="jp-duration" role="timer" aria-label="duration"> </div> 57 <div class="jp-details"> 58 <div class="jp-title" aria-label="title"> </div> 59 </div> 60 <div class="jp-controls-holder"> 61 <div class="jp-volume-controls"> 62 <button class="jp-mute" role="button" tabindex="0">mute</button> 63 <button class="jp-volume-max" role="button" tabindex="0">max volume</button> 64 <div class="jp-volume-bar"> 65 <div class="jp-volume-bar-value"></div> 66 </div> 67 </div> 68 <div class="jp-controls"> 69 <button class="jp-play" role="button" tabindex="0">play</button> 70 <button class="jp-stop" role="button" tabindex="0">stop</button> 71 </div> 72 <div class="jp-toggles"> 73 <button class="jp-repeat" role="button" tabindex="0">repeat</button> 74 <button class="jp-full-screen" role="button" tabindex="0">full screen</button> 75 </div> 76 </div> 77 </div> 78 </div> 79 <div class="jp-no-solution"> 80 <span>Update Required</span> 81 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>. 82 </div> 83 </div> 84</div> 85</body> 86 87</html> 88