test/integration/polemic.htm
branchnew-model
changeset 872 d777d05a16e4
parent 870 2c025db10a10
child 874 38b65761a7d5
--- a/test/integration/polemic.htm	Wed Apr 18 18:58:44 2012 +0200
+++ b/test/integration/polemic.htm	Thu Apr 19 19:20:41 2012 +0200
@@ -29,7 +29,7 @@
     };
     var _config = {            
         gui: {
-        width:640,
+            width:640,
             height:800,              
             container:'LdtPlayer',
 			default_options: {
@@ -78,11 +78,16 @@
                     type: "PlayerWidget"
                 },
                 {
+                    type: "PolemicNewWidget"
+                },
+                {
                     type: "HelloWorldWidget"
                 },
                 {
                     type: "AnnotationsListWidget",
-                /*    ajax_url : "http://ldt.iri.centrepompidou.fr/ldt/api/ldt/segments/{{media}}/{{begin}}/{{end}}", */
+                    ajax_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?",
+                    foreign_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}}",
+                    annotation_type : "tweet",
                     container: "AnnotationsListContainer"
                 }
             ]