test/integration/radio.htm
changeset 843 75ba66457232
parent 744 76400fd4ce70
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/integration/radio.htm	Fri Apr 06 16:55:34 2012 +0200
@@ -0,0 +1,75 @@
+<!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>
+<title>Test d'intégration de l'initialisation</title>
+</head>
+
+<body>
+
+	<div style="width:650px;font-family: 'Trebuchet MS', 'Helvetica', 'Arial',  'Verdana', 'sans-serif';">
+	<h1>MetaDataPlayer </h1>
+	Test d'intégration de l'initialisation.
+	</div>
+	
+	
+ <!-- START Integration  ###################################### -->
+ <!-- SIMPLE PLAYER EXPERIMENTATION -->
+	<script type="text/javascript" src="../../build/LdtPlayer-release.js" type="text/javascript"></script> 
+	
+	<div id="video"></div>
+	<div id="LdtPlayer"></div>
+	
+	<script  type="text/javascript">
+		var config = {						
+				gui:{
+						width:650,
+						height:2100,							
+						container:'LdtPlayer',
+						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'}
+						},
+						{type: "AnnotationsWidget", 
+						 metadata:{
+						  format:'cinelab',
+						  src:'../test.json',
+						  type:'json'}
+						},
+					   {type: "SegmentsWidget", 
+						 metadata:{
+						  format:'cinelab',
+						  src:'../test.json',
+						  type:'json'}
+						},
+					  		
+					  ]
+			  },
+			player:{
+			type:'jwplayer', // player type
+              flashplayer : '../libs/player.swf',
+              live: true, 
+              "controlbar.position" : "none", 
+              height: 1, /* jwplayer doesn't want it to be 0 */
+              width: 200, 
+              provider: "rtmp" 
+            }
+		};
+		
+    IriSP.initPlayer(config, "../test.json");
+	</script>
+	
+	
+ </body>
+ </html>