test/integration/jwplayer-video.htm
branchpopcorn-port
changeset 457 fbcb991cc595
parent 227 0eb060a3b656
child 504 02daece5dfda
--- a/test/integration/jwplayer-video.htm	Wed Dec 14 11:26:15 2011 +0100
+++ b/test/integration/jwplayer-video.htm	Wed Dec 14 11:26:44 2011 +0100
@@ -1,70 +1,70 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html dir="ltr" xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml" lang="fr">
-
-<head>
-
-</head>
-
-<body>
-
-	<div style="width:650px;font-family: 'Trebuchet MS', 'Helvetica', 'Arial',  'Verdana', 'sans-serif';">
-	<h1>MetaDataPlayer </h1>
-	Test d'intégration du widget du player avec Popcorn (jwplayer).
-	</div>
-	
-	
- <!-- START Integration  ###################################### -->
- <!-- SIMPLE PLAYER EXPERIMENTATION -->
-	<script type="text/javascript" src="../../build/LdtPlayer-release.js" type="text/javascript"></script> 
-	<script src="../../res/js/jquery.min.js" type="text/javascript"></script>
-	<script src="../../res/js/jquery.tools.min.js" type="text/javascript"></script>
-	<script src="../../res/js/jquery-ui.min.js" type="text/javascript"></script>
-	
-	<div id="video"></div>
-	<div id="LdtPlayer"></div>
-	
-	<script  type="text/javascript">
-		$(document).ready(function() {
-		var config = {
-						gui:{
-							width:650,
-							height:1,
-							mode:'video',
-							container:'LdtPlayer',
-							debug:true,
-							css:'../../src/css/LdtPlayer.css',
-              widgets : [{ 
-                  type: "PlayerWidget", // please note that type refers directly to the constructor of the widget.
-                  mode: "radio",
-                  metadata:{
-                  format:'cinelab',
-                  src:'../test.json',
-                  type:'json'}
-              },
-              {type: "SliderWidget",
-               metadata:{
-                format:'cinelab',
-                src:'../test.json',
-                type:'json'}
-              }
-              ],
-						player:{
-							type:'jwplayer',
-							flashplayer:'../../res/swf/player.swf',
-              file:'http://127.0.0.1/mdp/test/trailer.mp4',
-              provider:'video',
-              duration: 50}
-					};
-		
-          IriSP.loadLibs(IriSP.lib, config.gui.css, function() { 	
-              var layoutManager = new IriSP.LayoutManager(config.gui.container);
-              var pop = IriSP.configurePopcorn(layoutManager, config.player);
-              
-              var widgets = IriSP.configureWidgets(pop, layoutManager, config.gui); });
-    
-    });
-	</script>
-	
-	
- </body>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html dir="ltr" xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml" lang="fr">
+
+<head>
+
+</head>
+
+<body>
+
+	<div style="width:650px;font-family: 'Trebuchet MS', 'Helvetica', 'Arial',  'Verdana', 'sans-serif';">
+	<h1>MetaDataPlayer </h1>
+	Test d'intégration du widget du player avec Popcorn (jwplayer).
+	</div>
+	
+	
+ <!-- START Integration  ###################################### -->
+ <!-- SIMPLE PLAYER EXPERIMENTATION -->
+	<script type="text/javascript" src="../../build/LdtPlayer-release.js" type="text/javascript"></script> 
+	<script src="../../res/js/jquery.min.js" type="text/javascript"></script>
+	<script src="../../res/js/jquery.tools.min.js" type="text/javascript"></script>
+	<script src="../../res/js/jquery-ui.min.js" type="text/javascript"></script>
+	
+	<div id="video"></div>
+	<div id="LdtPlayer"></div>
+	
+	<script  type="text/javascript">
+		$(document).ready(function() {
+		var config = {
+						gui:{
+							width:650,
+							height:1,
+							mode:'video',
+							container:'LdtPlayer',
+							debug:true,
+							css:'../../src/css/LdtPlayer.css',
+              widgets : [{ 
+                  type: "PlayerWidget", // please note that type refers directly to the constructor of the widget.
+                  mode: "radio",
+                  metadata:{
+                  format:'cinelab',
+                  src:'../test.json',
+                  type:'json'}
+              },
+              {type: "SliderWidget",
+               metadata:{
+                format:'cinelab',
+                src:'../test.json',
+                type:'json'}
+              }
+              ]},
+						player:{
+							type:'jwplayer',
+							flashplayer:'../../res/swf/player.swf',
+              file:'../trailer.mp4',
+              provider:'video',
+              duration: 50}
+					};
+		
+          IriSP.loadLibs(IriSP.lib, config.gui.css, "../test.json", function() { 	
+              var layoutManager = new IriSP.LayoutManager(config.gui.container);
+              var pop = IriSP.configurePopcorn(layoutManager, config.player);
+              
+              var widgets = IriSP.configureWidgets(pop, layoutManager, config.gui); });
+    
+    });
+	</script>
+	
+	
+ </body>
  </html>
\ No newline at end of file