web/polemicaltimeline.php
changeset 1244 87583b020202
parent 1240 d7d4f53f2526
child 1295 03d2aa7b4967
--- a/web/polemicaltimeline.php	Wed May 20 19:09:05 2015 +0200
+++ b/web/polemicaltimeline.php	Wed May 20 19:37:20 2015 +0200
@@ -168,13 +168,13 @@
             },
             {
                 type: "AnnotationsList",
-                //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}}",
+                //ajax_url : "<?php echo(LDT_PLATFORM); ?>ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?",
+                //foreign_url : "<?php echo(LDT_PLATFORM); ?>ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}}",
                 container: "AnnotationsListContainer"
             },
             {
                 type: "CreateAnnotation",
-                api_endpoint_template: "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/1.0/annotations/",
+                api_endpoint_template: "<?php echo(LDT_PLATFORM); ?>ldtplatform/api/ldt/1.0/annotations/",
                 api_method: 'POST',
                 after_send_timeout: 8000,
                 show_mic_record: false,