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/blue.monday/css/jplayer.blue.monday.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 ogv: "http://www.jplayer.org/video/ogv/Big_Buck_Bunny_Trailer.ogv", 21 webmv: "http://www.jplayer.org/video/webm/Big_Buck_Bunny_Trailer.webm", 22 poster: "http://www.jplayer.org/video/poster/Big_Buck_Bunny_Trailer_480x270.png" 23 }); 24 }, 25 swfPath: "../../dist/jplayer", 26 supplied: "webmv, ogv, m4v", 27 size: { 28 width: "640px", 29 height: "360px", 30 cssClass: "jp-video-360p" 31 }, 32 useStateClassSkin: true, 33 autoBlur: false, 34 smoothPlayBar: true, 35 keyEnabled: true, 36 remainingDuration: true, 37 toggleDuration: true 38 }); 39 40}); 41//]]> 42</script> 43</head> 44<body> 45<div id="jp_container_1" class="jp-video jp-video-360p" role="application" aria-label="media player"> 46 <div class="jp-type-single"> 47 <div id="jquery_jplayer_1" class="jp-jplayer"></div> 48 <div class="jp-gui"> 49 <div class="jp-video-play"> 50 <button class="jp-video-play-icon" role="button" tabindex="0">play</button> 51 </div> 52 <div class="jp-interface"> 53 <div class="jp-progress"> 54 <div class="jp-seek-bar"> 55 <div class="jp-play-bar"></div> 56 </div> 57 </div> 58 <div class="jp-current-time" role="timer" aria-label="time"> </div> 59 <div class="jp-duration" role="timer" aria-label="duration"> </div> 60 <div class="jp-controls-holder"> 61 <div class="jp-controls"> 62 <button class="jp-play" role="button" tabindex="0">play</button> 63 <button class="jp-stop" role="button" tabindex="0">stop</button> 64 </div> 65 <div class="jp-volume-controls"> 66 <button class="jp-mute" role="button" tabindex="0">mute</button> 67 <button class="jp-volume-max" role="button" tabindex="0">max volume</button> 68 <div class="jp-volume-bar"> 69 <div class="jp-volume-bar-value"></div> 70 </div> 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 class="jp-details"> 78 <div class="jp-title" aria-label="title"> </div> 79 </div> 80 </div> 81 </div> 82 <div class="jp-no-solution"> 83 <span>Update Required</span> 84 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>. 85 </div> 86 </div> 87</div> 88</body> 89 90</html> 91