web/polemicaltimeline.php
changeset 581 7607516bd9f1
parent 575 634e5549b806
child 583 f655dafb741e
--- a/web/polemicaltimeline.php	Thu Apr 12 16:22:41 2012 +0200
+++ b/web/polemicaltimeline.php	Thu Apr 12 17:24:24 2012 +0200
@@ -78,9 +78,8 @@
   		var metadatas = { metadata: {url: "<?php echo($translate->_('config__metadata'));?>", duration: <?php echo($translate->_('config__duration'))?>} };
   		var metadata_key = "metadata";
   		<?php endif;?>
-    IriSP.libdir = "<?php echo(registry_url('libdir','js'));?>";
+    IriSP.libFiles.defaultDir = "<?php echo(registry_url('libdir','js'));?>";
     IriSP.jwplayer_swf_path = "<?php echo(URL_ROOT); ?>res/mediaplayer/player.swf";
-    IriSP.platform_url = "http://ldt.iri.centrepompidou.fr/";
     IriSP.language = "<?php echo($actual) ?>"
     var json_url = metadatas[metadata_key].url;
 
@@ -130,7 +129,13 @@
              container: "TagcloudContainer",
         <?php if (isset($config['hashtag'])) echo "excludeWords: ".json_encode(array($config['hashtag'])).","; ?>
             excludePattern: /^@/
-            }
+        },{
+                        type: "TraceWidget",
+                     //   js_console : true,
+                        url: "http://traces.advene.org:5000/",
+                        requestmode: 'GET',
+                        syncmode: "sync"
+                    }
             ]
         },
       player:{