changed a setting. popcorn-port
authorhamidouk
Mon, 30 Jan 2012 17:27:20 +0100
branchpopcorn-port
changeset 747 21ca8cd8ac83
parent 745 a996a24e07d6
child 748 ec1f7aa873f4
changed a setting.
src/js/site.js.templ
--- a/src/js/site.js.templ	Mon Jan 30 17:08:21 2012 +0100
+++ b/src/js/site.js.templ	Mon Jan 30 17:27:20 2012 +0100
@@ -95,11 +95,13 @@
         ajax_mode: true, /* use ajax to get information about the annotations.
                            if set to false, only search in the annotations for the
                            current project. */
-        ajax_url: platform_url + "/ldtplatform/api/ldt/segments/", /* partial
-                                                                           url of 
-                                                                           where to
-                                                                           get the 
-                                                                           ajax */
+        /* the platform generates some funky urls. We replace them afterwards to point to the
+           correct place - this setting will probably be overwritten by the platform 
+           implementers.
+           Note that the player has to replace the variables between {{ and }} by its own values.
+        */
+        ajax_url: platform_url + "/ldtplatform/api/ldt/segments/{media}/{begin}/{end}", 
+        
         ajax_granularity: 10000, /* how much ms should we look before and after the
                                    current timecode */