1<!DOCTYPE html>
2<html>
3<head>
4<meta charset="utf-8" />
5<!-- Website Design By: www.happyworm.com -->
6<title>Demo : jPlayer as video playlist and audio playlist players</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	new jPlayerPlaylist({
55		jPlayer: "#jquery_jplayer_2",
56		cssSelectorAncestor: "#jp_container_2"
57	}, [
58		{
59			title:"Cro Magnon Man",
60			mp3:"http://www.jplayer.org/audio/mp3/TSP-01-Cro_magnon_man.mp3",
61			oga:"http://www.jplayer.org/audio/ogg/TSP-01-Cro_magnon_man.ogg"
62		},
63		{
64			title:"Your Face",
65			mp3:"http://www.jplayer.org/audio/mp3/TSP-05-Your_face.mp3",
66			oga:"http://www.jplayer.org/audio/ogg/TSP-05-Your_face.ogg"
67		},
68		{
69			title:"Cyber Sonnet",
70			mp3:"http://www.jplayer.org/audio/mp3/TSP-07-Cybersonnet.mp3",
71			oga:"http://www.jplayer.org/audio/ogg/TSP-07-Cybersonnet.ogg"
72		},
73		{
74			title:"Tempered Song",
75			mp3:"http://www.jplayer.org/audio/mp3/Miaow-01-Tempered-song.mp3",
76			oga:"http://www.jplayer.org/audio/ogg/Miaow-01-Tempered-song.ogg"
77		},
78		{
79			title:"Hidden",
80			mp3:"http://www.jplayer.org/audio/mp3/Miaow-02-Hidden.mp3",
81			oga:"http://www.jplayer.org/audio/ogg/Miaow-02-Hidden.ogg"
82		},
83		{
84			title:"Lentement",
85			free:true,
86			mp3:"http://www.jplayer.org/audio/mp3/Miaow-03-Lentement.mp3",
87			oga:"http://www.jplayer.org/audio/ogg/Miaow-03-Lentement.ogg"
88		},
89		{
90			title:"Lismore",
91			mp3:"http://www.jplayer.org/audio/mp3/Miaow-04-Lismore.mp3",
92			oga:"http://www.jplayer.org/audio/ogg/Miaow-04-Lismore.ogg"
93		},
94		{
95			title:"The Separation",
96			mp3:"http://www.jplayer.org/audio/mp3/Miaow-05-The-separation.mp3",
97			oga:"http://www.jplayer.org/audio/ogg/Miaow-05-The-separation.ogg"
98		},
99		{
100			title:"Beside Me",
101			mp3:"http://www.jplayer.org/audio/mp3/Miaow-06-Beside-me.mp3",
102			oga:"http://www.jplayer.org/audio/ogg/Miaow-06-Beside-me.ogg"
103		},
104		{
105			title:"Bubble",
106			free:true,
107			mp3:"http://www.jplayer.org/audio/mp3/Miaow-07-Bubble.mp3",
108			oga:"http://www.jplayer.org/audio/ogg/Miaow-07-Bubble.ogg"
109		},
110		{
111			title:"Stirring of a Fool",
112			mp3:"http://www.jplayer.org/audio/mp3/Miaow-08-Stirring-of-a-fool.mp3",
113			oga:"http://www.jplayer.org/audio/ogg/Miaow-08-Stirring-of-a-fool.ogg"
114		},
115		{
116			title:"Partir",
117			free: true,
118			mp3:"http://www.jplayer.org/audio/mp3/Miaow-09-Partir.mp3",
119			oga:"http://www.jplayer.org/audio/ogg/Miaow-09-Partir.ogg"
120		},
121		{
122			title:"Thin Ice",
123			mp3:"http://www.jplayer.org/audio/mp3/Miaow-10-Thin-ice.mp3",
124			oga:"http://www.jplayer.org/audio/ogg/Miaow-10-Thin-ice.ogg"
125		}
126	], {
127		swfPath: "../../dist/jplayer",
128		supplied: "oga, mp3",
129		wmode: "window",
130		useStateClassSkin: true,
131		autoBlur: false,
132		smoothPlayBar: true,
133		keyEnabled: true
134	});
135});
136//]]>
137</script>
138</head>
139<body>
140<div id="jp_container_1" class="jp-video jp-video-270p" role="application" aria-label="media player">
141	<div class="jp-type-playlist">
142		<div id="jquery_jplayer_1" class="jp-jplayer"></div>
143		<div class="jp-gui">
144			<div class="jp-video-play">
145				<button class="jp-video-play-icon" role="button" tabindex="0">play</button>
146			</div>
147			<div class="jp-interface">
148				<div class="jp-progress">
149					<div class="jp-seek-bar">
150						<div class="jp-play-bar"></div>
151					</div>
152				</div>
153				<div class="jp-current-time" role="timer" aria-label="time">&nbsp;</div>
154				<div class="jp-duration" role="timer" aria-label="duration">&nbsp;</div>
155				<div class="jp-controls-holder">
156					<div class="jp-controls">
157						<button class="jp-previous" role="button" tabindex="0">previous</button>
158						<button class="jp-play" role="button" tabindex="0">play</button>
159						<button class="jp-next" role="button" tabindex="0">next</button>
160						<button class="jp-stop" role="button" tabindex="0">stop</button>
161					</div>
162					<div class="jp-volume-controls">
163						<button class="jp-mute" role="button" tabindex="0">mute</button>
164						<button class="jp-volume-max" role="button" tabindex="0">max volume</button>
165						<div class="jp-volume-bar">
166							<div class="jp-volume-bar-value"></div>
167						</div>
168					</div>
169					<div class="jp-toggles">
170						<button class="jp-repeat" role="button" tabindex="0">repeat</button>
171						<button class="jp-shuffle" role="button" tabindex="0">shuffle</button>
172						<button class="jp-full-screen" role="button" tabindex="0">full screen</button>
173					</div>
174				</div>
175				<div class="jp-details">
176					<div class="jp-title" aria-label="title">&nbsp;</div>
177				</div>
178			</div>
179		</div>
180		<div class="jp-playlist">
181			<ul>
182				<!-- The method Playlist.displayPlaylist() uses this unordered list -->
183				<li>&nbsp;</li>
184			</ul>
185		</div>
186		<div class="jp-no-solution">
187			<span>Update Required</span>
188			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>.
189		</div>
190	</div>
191</div>
192<div id="jquery_jplayer_2" class="jp-jplayer"></div>
193<div id="jp_container_2" class="jp-audio" role="application" aria-label="media player">
194	<div class="jp-type-playlist">
195		<div class="jp-gui jp-interface">
196			<div class="jp-controls">
197				<button class="jp-previous" role="button" tabindex="0">previous</button>
198				<button class="jp-play" role="button" tabindex="0">play</button>
199				<button class="jp-next" role="button" tabindex="0">next</button>
200				<button class="jp-stop" role="button" tabindex="0">stop</button>
201			</div>
202			<div class="jp-progress">
203				<div class="jp-seek-bar">
204					<div class="jp-play-bar"></div>
205				</div>
206			</div>
207			<div class="jp-volume-controls">
208				<button class="jp-mute" role="button" tabindex="0">mute</button>
209				<button class="jp-volume-max" role="button" tabindex="0">max volume</button>
210				<div class="jp-volume-bar">
211					<div class="jp-volume-bar-value"></div>
212				</div>
213			</div>
214			<div class="jp-time-holder">
215				<div class="jp-current-time" role="timer" aria-label="time">&nbsp;</div>
216				<div class="jp-duration" role="timer" aria-label="duration">&nbsp;</div>
217			</div>
218			<div class="jp-toggles">
219				<button class="jp-repeat" role="button" tabindex="0">repeat</button>
220				<button class="jp-shuffle" role="button" tabindex="0">shuffle</button>
221			</div>
222		</div>
223		<div class="jp-playlist">
224			<ul>
225				<li>&nbsp;</li>
226			</ul>
227		</div>
228		<div class="jp-no-solution">
229			<span>Update Required</span>
230			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>.
231		</div>
232	</div>
233</div>
234</body>
235
236</html>
237