some work on the demo for the festival cinecast. popcorn-port
authorhamidouk
Thu, 19 Jan 2012 12:18:49 +0100
branchpopcorn-port
changeset 679 db6807d0823b
parent 678 45385e19022a
child 680 28ffcd88cdfd
some work on the demo for the festival cinecast.
test/integration/polemic-festival.htm
--- a/test/integration/polemic-festival.htm	Thu Jan 19 12:18:29 2012 +0100
+++ b/test/integration/polemic-festival.htm	Thu Jan 19 12:18:49 2012 +0100
@@ -23,32 +23,16 @@
   <script  type="text/javascript">
     var platf_url = "http://localhost/pf/ldtplatform/ldt/";
     var project_id = "47e3eef0-3ab4-11e1-9423-001d7d7c6d1d";
+    IriSP.widgetsDefaults.AnnotationsListWidget.ajax_mode = false;
+    IriSP.widgetsDefaults.createAnnotationWidget.cinecast_version = true;
+    
     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:'polemic_fr.json',
-                type:'json'},
-                
-               requires: [{
-                type: "TooltipWidget",
-                width: 180,
-                heigh: 160,
-                metadata : {
-                  format:'cinelab',
-                  src:'polemic.json',
-                  type:'empty'
-                }
-               }],
-            },            
+            widgets: [            
             {type: "AnnotationsListWidget",
              container: "AnnotationsListContainer",             
 						 metadata:{