src/js/site.js
branchpopcorn-port
changeset 677 2f3ab8896fa1
parent 672 9013f6382f8c
--- a/src/js/site.js	Wed Jan 18 17:44:55 2012 +0100
+++ b/src/js/site.js	Thu Jan 19 12:17:57 2012 +0100
@@ -55,17 +55,19 @@
   },
   "Main" : {
       autoplay: true
-  }
+  },
   "AnnotationsListWidget" : {
       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: IriSP.platform_url + "ldtplatform/api/ldt/segments/" /* partial
-                                                                        url of 
-                                                                        where to
-                                                                        get the 
-                                                                        ajax */
-  },  
+      ajax_url: IriSP.platform_url + "ldtplatform/api/ldt/segments/", /* partial
+                                                                         url of 
+                                                                         where to
+                                                                         get the 
+                                                                         ajax */
+      ajax_granularity: 10000 /* how much ms should we look before and after the
+                                 current timecode */
+  }, 
 };
 
 IriSP.paths = {