src/js/defaults.js
branchnew-model
changeset 870 2c025db10a10
parent 868 a525cc2214e7
child 872 d777d05a16e4
equal deleted inserted replaced
868:a525cc2214e7 870:2c025db10a10
    97        lineColor : "#7492b4",
    97        lineColor : "#7492b4",
    98        fillColor : "#aeaeb8",
    98        fillColor : "#aeaeb8",
    99        lineWidth : 2
    99        lineWidth : 2
   100     },
   100     },
   101     "AnnotationsListWidget" : {
   101     "AnnotationsListWidget" : {
   102         ajax_mode : true, /* use ajax to get information about the annotations.
       
   103          if set to false, only search in the annotations for the
       
   104          current project. */
       
   105         /* the platform generates some funky urls. We replace them afterwards to point to the
   102         /* the platform generates some funky urls. We replace them afterwards to point to the
   106          correct place - this setting will probably be overwritten by the platform
   103          correct place - this setting will probably be overwritten by the platform
   107          implementers.
   104          implementers.
   108          Note that the player has to replace the variables between {{ and }} by its own values.
   105          Note that the player has to replace the variables between {{ and }} by its own values.
   109          */
   106          */
   110         ajax_url : "", //platform_url + "/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}",
   107         ajax_url : false, //platform_url + "/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}",
   111         ajax_granularity : 10000, /* how much ms should we look before and after the current timecode */
   108         ajax_granularity : 300000, /* how much ms should we look before and after the current timecode */
   112         default_thumbnail : "http://ldt.iri.centrepompidou.fr/static/site/ldt/css/imgs/video_sequence.png",
   109         default_thumbnail : "http://ldt.iri.centrepompidou.fr/static/site/ldt/css/imgs/video_sequence.png",
   113         project_url : "", //platform_url + "/ldtplatform/ldt/front/player/"
   110         project_url : "", //platform_url + "/ldtplatform/ldt/front/player/"
   114         /* the beginning of a link to the new front */
   111         /* the beginning of a link to the new front */
   115         cinecast_version : false,
   112         cinecast_version : false,
   116         refresh_interval : 10000
   113         annotation_type : false,
       
   114         refresh_interval : 300000,
       
   115         limit_count : 10,
       
   116         newest_first : false
   117     },
   117     },
   118     "StackGraphWidget" : {
   118     "StackGraphWidget" : {
   119          defaultcolor : "#585858",
   119          defaultcolor : "#585858",
   120          tags : [
   120          tags : [
   121             {
   121             {