123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8" />
- <!-- Website Design By: www.happyworm.com -->
- <title>Demo : Multi instanced jPlayer video players</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <link href="../../dist/skin/blue.monday/css/jplayer.blue.monday.min.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="../../lib/jquery.min.js"></script>
- <script type="text/javascript" src="../../dist/jplayer/jquery.jplayer.min.js"></script>
- <script type="text/javascript">
- //<![CDATA[
- $(document).ready(function(){
- $("#jquery_jplayer_1").jPlayer({
- ready: function () {
- $(this).jPlayer("setMedia", {
- title: "Big Buck Bunny Trailer",
- m4v: "http://www.jplayer.org/video/m4v/Big_Buck_Bunny_Trailer.m4v",
- ogv: "http://www.jplayer.org/video/ogv/Big_Buck_Bunny_Trailer.ogv",
- webmv: "http://www.jplayer.org/video/webm/Big_Buck_Bunny_Trailer.webm",
- poster: "http://www.jplayer.org/video/poster/Big_Buck_Bunny_Trailer_480x270.png"
- });
- },
- play: function() { // To avoid multiple jPlayers playing together.
- $(this).jPlayer("pauseOthers");
- },
- swfPath: "../../dist/jplayer",
- supplied: "webmv, ogv, m4v",
- globalVolume: true,
- useStateClassSkin: true,
- autoBlur: false,
- smoothPlayBar: true,
- keyEnabled: true
- });
- $("#jquery_jplayer_2").jPlayer({
- ready: function () {
- $(this).jPlayer("setMedia", {
- title: "Incredibles Teaser",
- m4v: "http://www.jplayer.org/video/m4v/Incredibles_Teaser.m4v",
- ogv: "http://www.jplayer.org/video/ogv/Incredibles_Teaser.ogv",
- webmv: "http://www.jplayer.org/video/webm/Incredibles_Teaser.webm",
- poster: "http://www.jplayer.org/video/poster/Incredibles_Teaser_640x272.png"
- });
- },
- play: function() { // To avoid multiple jPlayers playing together.
- $(this).jPlayer("pauseOthers");
- },
- swfPath: "../../dist/jplayer",
- supplied: "webmv, ogv, m4v",
- cssSelectorAncestor: "#jp_container_2",
- globalVolume: true,
- useStateClassSkin: true,
- autoBlur: false,
- smoothPlayBar: true,
- keyEnabled: true
- });
- $("#jquery_jplayer_3").jPlayer({
- ready: function () {
- $(this).jPlayer("setMedia", {
- title: "Finding Nemo Teaser",
- m4v: "http://www.jplayer.org/video/m4v/Finding_Nemo_Teaser.m4v",
- ogv: "http://www.jplayer.org/video/ogv/Finding_Nemo_Teaser.ogv",
- webmv: "http://www.jplayer.org/video/webm/Finding_Nemo_Teaser.webm",
- poster: "http://www.jplayer.org/video/poster/Finding_Nemo_Teaser_640x352.png"
- });
- },
- play: function() { // To avoid multiple jPlayers playing together.
- $(this).jPlayer("pauseOthers");
- },
- swfPath: "../../dist/jplayer",
- supplied: "webmv, ogv, m4v",
- cssSelectorAncestor: "#jp_container_3",
- globalVolume: true,
- useStateClassSkin: true,
- autoBlur: false,
- smoothPlayBar: true,
- keyEnabled: true
- });
- });
- //]]>
- </script>
- </head>
- <body>
- <div id="jp_container_1" class="jp-video jp-video-270p" role="application" aria-label="media player">
- <div class="jp-type-single">
- <div id="jquery_jplayer_1" class="jp-jplayer"></div>
- <div class="jp-gui">
- <div class="jp-video-play">
- <button class="jp-video-play-icon" role="button" tabindex="0">play</button>
- </div>
- <div class="jp-interface">
- <div class="jp-progress">
- <div class="jp-seek-bar">
- <div class="jp-play-bar"></div>
- </div>
- </div>
- <div class="jp-current-time" role="timer" aria-label="time"> </div>
- <div class="jp-duration" role="timer" aria-label="duration"> </div>
- <div class="jp-controls-holder">
- <div class="jp-controls">
- <button class="jp-play" role="button" tabindex="0">play</button>
- <button class="jp-stop" role="button" tabindex="0">stop</button>
- </div>
- <div class="jp-volume-controls">
- <button class="jp-mute" role="button" tabindex="0">mute</button>
- <button class="jp-volume-max" role="button" tabindex="0">max volume</button>
- <div class="jp-volume-bar">
- <div class="jp-volume-bar-value"></div>
- </div>
- </div>
- <div class="jp-toggles">
- <button class="jp-repeat" role="button" tabindex="0">repeat</button>
- <button class="jp-full-screen" role="button" tabindex="0">full screen</button>
- </div>
- </div>
- <div class="jp-details">
- <div class="jp-title" aria-label="title"> </div>
- </div>
- </div>
- </div>
- <div class="jp-no-solution">
- <span>Update Required</span>
- 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>.
- </div>
- </div>
- </div>
- <div id="jp_container_2" class="jp-video jp-video-270p" role="application" aria-label="media player">
- <div class="jp-type-single">
- <div id="jquery_jplayer_2" class="jp-jplayer"></div>
- <div class="jp-gui">
- <div class="jp-video-play">
- <button class="jp-video-play-icon" role="button" tabindex="0">play</button>
- </div>
- <div class="jp-interface">
- <div class="jp-progress">
- <div class="jp-seek-bar">
- <div class="jp-play-bar"></div>
- </div>
- </div>
- <div class="jp-current-time" role="timer" aria-label="time"> </div>
- <div class="jp-duration" role="timer" aria-label="duration"> </div>
- <div class="jp-controls-holder">
- <div class="jp-controls">
- <button class="jp-play" role="button" tabindex="0">play</button>
- <button class="jp-stop" role="button" tabindex="0">stop</button>
- </div>
- <div class="jp-volume-controls">
- <button class="jp-mute" role="button" tabindex="0">mute</button>
- <button class="jp-volume-max" role="button" tabindex="0">max volume</button>
- <div class="jp-volume-bar">
- <div class="jp-volume-bar-value"></div>
- </div>
- </div>
- <div class="jp-toggles">
- <button class="jp-repeat" role="button" tabindex="0">repeat</button>
- <button class="jp-full-screen" role="button" tabindex="0">full screen</button>
- </div>
- </div>
- <div class="jp-details">
- <div class="jp-title" aria-label="title"> </div>
- </div>
- </div>
- </div>
- <div class="jp-no-solution">
- <span>Update Required</span>
- 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>.
- </div>
- </div>
- </div>
- <div id="jp_container_3" class="jp-video jp-video-270p" role="application" aria-label="media player">
- <div class="jp-type-single">
- <div id="jquery_jplayer_3" class="jp-jplayer"></div>
- <div class="jp-gui">
- <div class="jp-video-play">
- <button class="jp-video-play-icon" role="button" tabindex="0">play</button>
- </div>
- <div class="jp-interface">
- <div class="jp-progress">
- <div class="jp-seek-bar">
- <div class="jp-play-bar"></div>
- </div>
- </div>
- <div class="jp-current-time" role="timer" aria-label="time"> </div>
- <div class="jp-duration" role="timer" aria-label="duration"> </div>
- <div class="jp-controls-holder">
- <div class="jp-controls">
- <button class="jp-play" role="button" tabindex="0">play</button>
- <button class="jp-stop" role="button" tabindex="0">stop</button>
- </div>
- <div class="jp-volume-controls">
- <button class="jp-mute" role="button" tabindex="0">mute</button>
- <button class="jp-volume-max" role="button" tabindex="0">max volume</button>
- <div class="jp-volume-bar">
- <div class="jp-volume-bar-value"></div>
- </div>
- </div>
- <div class="jp-toggles">
- <button class="jp-repeat" role="button" tabindex="0">repeat</button>
- <button class="jp-full-screen" role="button" tabindex="0">full screen</button>
- </div>
- </div>
- <div class="jp-details">
- <div class="jp-title" aria-label="title"> </div>
- </div>
- </div>
- </div>
- <div class="jp-no-solution">
- <span>Update Required</span>
- 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>.
- </div>
- </div>
- </div>
- </body>
- </html>
|