src/widgets/AnnotationsList.js
branchnew-model
changeset 909 aa0e42229784
parent 908 f56199193fad
child 916 ec6849bbbdcc
equal deleted inserted replaced
908:f56199193fad 909:aa0e42229784
    14 IriSP.Widgets.AnnotationsList.prototype.defaults = {
    14 IriSP.Widgets.AnnotationsList.prototype.defaults = {
    15     /* URL when the annotations are to be reloaded from an LDT-like segment API
    15     /* URL when the annotations are to be reloaded from an LDT-like segment API
    16      * e.g. http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?
    16      * e.g. http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?
    17      */
    17      */
    18     ajax_url : false,
    18     ajax_url : false,
    19     /* how much ms should we look before and after the current timecode in the segment API
    19     /* number of milliseconds before/after the current timecode when calling the segment API
    20      */
    20      */
    21     ajax_granularity : 300000, 
    21     ajax_granularity : 300000, 
    22     default_thumbnail : "http://ldt.iri.centrepompidou.fr/static/site/ldt/css/imgs/video_sequence.png",
    22     default_thumbnail : "http://ldt.iri.centrepompidou.fr/static/site/ldt/css/imgs/video_sequence.png",
    23     /* URL when the annotation is not in the current project,
    23     /* URL when the annotation is not in the current project,
    24      * e.g. http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}}
    24      * e.g. http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}}