web/polemicaltimeline.php
changeset 1249 813a89873f94
parent 1244 87583b020202
child 1295 03d2aa7b4967
--- a/web/polemicaltimeline.php	Wed May 27 18:44:35 2015 +0200
+++ b/web/polemicaltimeline.php	Wed May 27 18:52:34 2015 +0200
@@ -168,14 +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: "http://localhost/~ymh/platform/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,