1<!DOCTYPE html>
2<html>
3<head>
4<meta charset="utf-8" />
5<!-- Website Design By: www.happyworm.com -->
6<title>Demo : Multi instanced jPlayer video 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">
12//<![CDATA[
13$(document).ready(function(){
14
15	$("#jquery_jplayer_1").jPlayer({
16		ready: function () {
17			$(this).jPlayer("setMedia", {
18				title: "Big Buck Bunny Trailer",
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		play: function() { // To avoid multiple jPlayers playing together.
26			$(this).jPlayer("pauseOthers");
27		},
28		swfPath: "../../dist/jplayer",
29		supplied: "webmv, ogv, m4v",
30		globalVolume: true,
31		useStateClassSkin: true,
32		autoBlur: false,
33		smoothPlayBar: true,
34		keyEnabled: true
35	});
36
37	$("#jquery_jplayer_2").jPlayer({
38		ready: function () {
39			$(this).jPlayer("setMedia", {
40				title: "Incredibles Teaser",
41				m4v: "http://www.jplayer.org/video/m4v/Incredibles_Teaser.m4v",
42				ogv: "http://www.jplayer.org/video/ogv/Incredibles_Teaser.ogv",
43				webmv: "http://www.jplayer.org/video/webm/Incredibles_Teaser.webm",
44				poster: "http://www.jplayer.org/video/poster/Incredibles_Teaser_640x272.png"
45			});
46		},
47		play: function() { // To avoid multiple jPlayers playing together.
48			$(this).jPlayer("pauseOthers");
49		},
50		swfPath: "../../dist/jplayer",
51		supplied: "webmv, ogv, m4v",
52		cssSelectorAncestor: "#jp_container_2",
53		globalVolume: true,
54		useStateClassSkin: true,
55		autoBlur: false,
56		smoothPlayBar: true,
57		keyEnabled: true
58	});
59
60	$("#jquery_jplayer_3").jPlayer({
61		ready: function () {
62			$(this).jPlayer("setMedia", {
63				title: "Finding Nemo Teaser",
64				m4v: "http://www.jplayer.org/video/m4v/Finding_Nemo_Teaser.m4v",
65				ogv: "http://www.jplayer.org/video/ogv/Finding_Nemo_Teaser.ogv",
66				webmv: "http://www.jplayer.org/video/webm/Finding_Nemo_Teaser.webm",
67				poster: "http://www.jplayer.org/video/poster/Finding_Nemo_Teaser_640x352.png"
68			});
69		},
70		play: function() { // To avoid multiple jPlayers playing together.
71			$(this).jPlayer("pauseOthers");
72		},
73		swfPath: "../../dist/jplayer",
74		supplied: "webmv, ogv, m4v",
75		cssSelectorAncestor: "#jp_container_3",
76		globalVolume: true,
77		useStateClassSkin: true,
78		autoBlur: false,
79		smoothPlayBar: true,
80		keyEnabled: true
81	});
82});
83//]]>
84</script>
85</head>
86<body>
87<div id="jp_container_1" class="jp-video jp-video-270p" role="application" aria-label="media player">
88	<div class="jp-type-single">
89		<div id="jquery_jplayer_1" class="jp-jplayer"></div>
90		<div class="jp-gui">
91			<div class="jp-video-play">
92				<button class="jp-video-play-icon" role="button" tabindex="0">play</button>
93			</div>
94			<div class="jp-interface">
95				<div class="jp-progress">
96					<div class="jp-seek-bar">
97						<div class="jp-play-bar"></div>
98					</div>
99				</div>
100				<div class="jp-current-time" role="timer" aria-label="time">&nbsp;</div>
101				<div class="jp-duration" role="timer" aria-label="duration">&nbsp;</div>
102				<div class="jp-controls-holder">
103					<div class="jp-controls">
104						<button class="jp-play" role="button" tabindex="0">play</button>
105						<button class="jp-stop" role="button" tabindex="0">stop</button>
106					</div>
107					<div class="jp-volume-controls">
108						<button class="jp-mute" role="button" tabindex="0">mute</button>
109						<button class="jp-volume-max" role="button" tabindex="0">max volume</button>
110						<div class="jp-volume-bar">
111							<div class="jp-volume-bar-value"></div>
112						</div>
113					</div>
114					<div class="jp-toggles">
115						<button class="jp-repeat" role="button" tabindex="0">repeat</button>
116						<button class="jp-full-screen" role="button" tabindex="0">full screen</button>
117					</div>
118				</div>
119				<div class="jp-details">
120					<div class="jp-title" aria-label="title">&nbsp;</div>
121				</div>
122			</div>
123		</div>
124		<div class="jp-no-solution">
125			<span>Update Required</span>
126			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>.
127		</div>
128	</div>
129</div>
130<div id="jp_container_2" class="jp-video jp-video-270p" role="application" aria-label="media player">
131	<div class="jp-type-single">
132		<div id="jquery_jplayer_2" class="jp-jplayer"></div>
133		<div class="jp-gui">
134			<div class="jp-video-play">
135				<button class="jp-video-play-icon" role="button" tabindex="0">play</button>
136			</div>
137			<div class="jp-interface">
138				<div class="jp-progress">
139					<div class="jp-seek-bar">
140						<div class="jp-play-bar"></div>
141					</div>
142				</div>
143				<div class="jp-current-time" role="timer" aria-label="time">&nbsp;</div>
144				<div class="jp-duration" role="timer" aria-label="duration">&nbsp;</div>
145				<div class="jp-controls-holder">
146					<div class="jp-controls">
147						<button class="jp-play" role="button" tabindex="0">play</button>
148						<button class="jp-stop" role="button" tabindex="0">stop</button>
149					</div>
150					<div class="jp-volume-controls">
151						<button class="jp-mute" role="button" tabindex="0">mute</button>
152						<button class="jp-volume-max" role="button" tabindex="0">max volume</button>
153						<div class="jp-volume-bar">
154							<div class="jp-volume-bar-value"></div>
155						</div>
156					</div>
157					<div class="jp-toggles">
158						<button class="jp-repeat" role="button" tabindex="0">repeat</button>
159						<button class="jp-full-screen" role="button" tabindex="0">full screen</button>
160					</div>
161				</div>
162				<div class="jp-details">
163					<div class="jp-title" aria-label="title">&nbsp;</div>
164				</div>
165			</div>
166		</div>
167		<div class="jp-no-solution">
168			<span>Update Required</span>
169			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>.
170		</div>
171	</div>
172</div>
173<div id="jp_container_3" class="jp-video jp-video-270p" role="application" aria-label="media player">
174	<div class="jp-type-single">
175		<div id="jquery_jplayer_3" class="jp-jplayer"></div>
176		<div class="jp-gui">
177			<div class="jp-video-play">
178				<button class="jp-video-play-icon" role="button" tabindex="0">play</button>
179			</div>
180			<div class="jp-interface">
181				<div class="jp-progress">
182					<div class="jp-seek-bar">
183						<div class="jp-play-bar"></div>
184					</div>
185				</div>
186				<div class="jp-current-time" role="timer" aria-label="time">&nbsp;</div>
187				<div class="jp-duration" role="timer" aria-label="duration">&nbsp;</div>
188				<div class="jp-controls-holder">
189					<div class="jp-controls">
190						<button class="jp-play" role="button" tabindex="0">play</button>
191						<button class="jp-stop" role="button" tabindex="0">stop</button>
192					</div>
193					<div class="jp-volume-controls">
194						<button class="jp-mute" role="button" tabindex="0">mute</button>
195						<button class="jp-volume-max" role="button" tabindex="0">max volume</button>
196						<div class="jp-volume-bar">
197							<div class="jp-volume-bar-value"></div>
198						</div>
199					</div>
200					<div class="jp-toggles">
201						<button class="jp-repeat" role="button" tabindex="0">repeat</button>
202						<button class="jp-full-screen" role="button" tabindex="0">full screen</button>
203					</div>
204				</div>
205				<div class="jp-details">
206					<div class="jp-title" aria-label="title">&nbsp;</div>
207				</div>
208			</div>
209		</div>
210		<div class="jp-no-solution">
211			<span>Update Required</span>
212			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>.
213		</div>
214	</div>
215</div>
216</body>
217
218</html>
219