test/integration/polemic-jsonp.htm
changeset 952 693c282aa4e9
parent 951 13fed6c21d51
child 953 b58eda0ce5df
--- a/test/integration/polemic-jsonp.htm	Tue Sep 04 17:15:22 2012 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,123 +0,0 @@
-<!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>Metadataplayer - Polemic tweet integration test</title>
-</head>
-
-<body>
-
-  <div style="width:650px;font-family: 'Trebuchet MS', 'Helvetica', 'Arial',  'Verdana', 'sans-serif';">
-  <h1>MetaDataPlayer</h1>
-  Polemic tweet integration test - loading an outside ressource using JSONP.
-  </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: "PolemicWidget",
-             width: 640, /* required for this widget */
-             height: 50,
-             metadata:{
-              format:'cinelab',
-              src:'http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02',
-              type:'json'},
-              
-             requires: [{
-              type: "TooltipWidget",
-              width: 180,
-              heigh: 160,
-              metadata : {
-                format:'cinelab',
-                src:'http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02',
-                type:'empty'
-              }
-             }],
-            },
-            {type: "SliderWidget",
-						 metadata:{
-						  format:'cinelab',
-						  src:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02",
-						  type:'json'}
-						},
-            {type: "PlayerWidget", // please note that type refers directly to the constructor of the widget.
-             mode: "radio",
-             metadata:{
-              format:'cinelab',
-              src:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02",
-              type:'json'}
-            },
-            {type: "SegmentsWidget",
-             metadata:{
-              format:'cinelab',
-              src:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02",
-              type:'json'},
-             requires: [{
-              type: "TooltipWidget",
-              width: 180,
-              heigh: 160,
-              metadata : {
-                type:'empty'
-              }
-             }],
-            },
-            {type: "ArrowWidget",
-             metadata:{
-              format:'cinelab',
-              src:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02",
-              type:'json'}
-            },
-
-            {type: "AnnotationsWidget",
-						 metadata:{
-						  format:'cinelab',
-						  src:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02",
-						  type:'json'}
-						},
-            {type: "TweetsWidget",
-						 metadata:{
-						  format:'cinelab',
-						  src:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02",
-						  type:'json'}
-						}      
-            ]
-        },
-      player:{
-      type:'jwplayer', // player type
-              flashplayer : '../libs/player.swf',
-              live: true, 
-              "controlbar.position" : "none", 
-              height: 300, 
-              width: 640, 
-              provider: "rtmp" 
-      },
-      modules: [
-               { type: "MediaFragment",
-  			     		 metadata:{
-	  	  			   format:'cinelab',
-		  				   src:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02",
-						     type:'json'}
-						}]
-
-    };
-    
-    IriSP.initPlayer(config, "polemic_fr.json");
-  </script>
-  
-  
- </body>
- <div id="PopcornContainer"></div>
- </html>