diff -r 499d9693d066 -r 2f3ab8896fa1 src/js/site.js --- 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 = {