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 playlist 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" src="../../dist/add-on/jplayer.playlist.min.js"></script> 12<script type="text/javascript"> 13//<![CDATA[ 14$(document).ready(function(){ 15 16 new jPlayerPlaylist({ 17 jPlayer: "#jquery_jplayer_1", 18 cssSelectorAncestor: "#jp_container_1" 19 }, [ 20 { 21 title:"Big Buck Bunny Trailer", 22 artist:"Blender Foundation", 23 free:true, 24 m4v: "http://www.jplayer.org/video/m4v/Big_Buck_Bunny_Trailer.m4v", 25 ogv: "http://www.jplayer.org/video/ogv/Big_Buck_Bunny_Trailer.ogv", 26 webmv: "http://www.jplayer.org/video/webm/Big_Buck_Bunny_Trailer.webm", 27 poster:"http://www.jplayer.org/video/poster/Big_Buck_Bunny_Trailer_480x270.png" 28 }, 29 { 30 title:"Finding Nemo Teaser", 31 artist:"Pixar", 32 m4v: "http://www.jplayer.org/video/m4v/Finding_Nemo_Teaser.m4v", 33 ogv: "http://www.jplayer.org/video/ogv/Finding_Nemo_Teaser.ogv", 34 webmv: "http://www.jplayer.org/video/webm/Finding_Nemo_Teaser.webm", 35 poster: "http://www.jplayer.org/video/poster/Finding_Nemo_Teaser_640x352.png" 36 }, 37 { 38 title:"Incredibles Teaser", 39 artist:"Pixar", 40 m4v: "http://www.jplayer.org/video/m4v/Incredibles_Teaser.m4v", 41 ogv: "http://www.jplayer.org/video/ogv/Incredibles_Teaser.ogv", 42 webmv: "http://www.jplayer.org/video/webm/Incredibles_Teaser.webm", 43 poster: "http://www.jplayer.org/video/poster/Incredibles_Teaser_640x272.png" 44 } 45 ], { 46 swfPath: "../../dist/jplayer", 47 supplied: "webmv, ogv, m4v", 48 useStateClassSkin: true, 49 autoBlur: false, 50 smoothPlayBar: true, 51 keyEnabled: true 52 }); 53 54}); 55//]]> 56</script> 57</head> 58<body> 59<div id="jp_container_1" class="jp-video jp-video-270p" role="application" aria-label="media player"> 60 <div class="jp-type-playlist"> 61 <div id="jquery_jplayer_1" class="jp-jplayer"></div> 62 <div class="jp-gui"> 63 <div class="jp-video-play"> 64 <button class="jp-video-play-icon" role="button" tabindex="0">play</button> 65 </div> 66 <div class="jp-interface"> 67 <div class="jp-progress"> 68 <div class="jp-seek-bar"> 69 <div class="jp-play-bar"></div> 70 </div> 71 </div> 72 <div class="jp-current-time" role="timer" aria-label="time"> </div> 73 <div class="jp-duration" role="timer" aria-label="duration"> </div> 74 <div class="jp-controls-holder"> 75 <div class="jp-controls"> 76 <button class="jp-previous" role="button" tabindex="0">previous</button> 77 <button class="jp-play" role="button" tabindex="0">play</button> 78 <button class="jp-next" role="button" tabindex="0">next</button> 79 <button class="jp-stop" role="button" tabindex="0">stop</button> 80 </div> 81 <div class="jp-volume-controls"> 82 <button class="jp-mute" role="button" tabindex="0">mute</button> 83 <button class="jp-volume-max" role="button" tabindex="0">max volume</button> 84 <div class="jp-volume-bar"> 85 <div class="jp-volume-bar-value"></div> 86 </div> 87 </div> 88 <div class="jp-toggles"> 89 <button class="jp-repeat" role="button" tabindex="0">repeat</button> 90 <button class="jp-shuffle" role="button" tabindex="0">shuffle</button> 91 <button class="jp-full-screen" role="button" tabindex="0">full screen</button> 92 </div> 93 </div> 94 <div class="jp-details"> 95 <div class="jp-title" aria-label="title"> </div> 96 </div> 97 </div> 98 </div> 99 <div class="jp-playlist"> 100 <ul> 101 <!-- The method Playlist.displayPlaylist() uses this unordered list --> 102 <li> </li> 103 </ul> 104 </div> 105 <div class="jp-no-solution"> 106 <span>Update Required</span> 107 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>. 108 </div> 109 </div> 110</div> 111</body> 112 113</html> 114