equal
deleted
inserted
replaced
21 default_thumbnail : "http://ldt.iri.centrepompidou.fr/static/site/ldt/css/imgs/video_sequence.png", |
21 default_thumbnail : "http://ldt.iri.centrepompidou.fr/static/site/ldt/css/imgs/video_sequence.png", |
22 /* URL when the annotation is not in the current project, |
22 /* URL when the annotation is not in the current project, |
23 * e.g. http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}} |
23 * e.g. http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}} |
24 */ |
24 */ |
25 foreign_url : "", |
25 foreign_url : "", |
26 cinecast_version : false, |
|
27 annotation_type : false, |
26 annotation_type : false, |
28 refresh_interval : 0, |
27 refresh_interval : 0, |
29 limit_count : 10, |
28 limit_count : 10, |
30 newest_first : false |
29 newest_first : false |
31 }; |
30 }; |
48 + '{{#tags.length}}' |
47 + '{{#tags.length}}' |
49 + '<ul class="Ldt-AnnotationsList-Tags">' |
48 + '<ul class="Ldt-AnnotationsList-Tags">' |
50 + '{{#tags}}' |
49 + '{{#tags}}' |
51 + '{{#.}}' |
50 + '{{#.}}' |
52 + '<li class="Ldt-AnnotationsList-Tag-Li">' |
51 + '<li class="Ldt-AnnotationsList-Tag-Li">' |
53 + '<div class="Ldt-AnnotationsList-Tag-Div">{{.}}</div>' |
52 + '<span>{{.}}</span>' |
54 + '</li>' |
53 + '</li>' |
55 + '{{/.}}' |
54 + '{{/.}}' |
56 + '{{/tags}}' |
55 + '{{/tags}}' |
57 + '</ul>' |
56 + '</ul>' |
58 + '{{/tags.length}}' |
57 + '{{/tags.length}}' |
59 + '</li>' |
58 + '</li>' |
60 + '{{/annotations}}' |
59 + '{{/annotations}}' |
61 + '</ul>' |
60 + '</ul>' |
62 + '</div>'; |
61 + '</div>'; |
63 |
|
64 IriSP.Widgets.AnnotationsList.prototype.clear = function() { |
|
65 }; |
|
66 |
|
67 IriSP.Widgets.AnnotationsList.prototype.clearWidget = function() { |
|
68 }; |
|
69 |
62 |
70 IriSP.Widgets.AnnotationsList.prototype.onSearch = function(searchString) { |
63 IriSP.Widgets.AnnotationsList.prototype.onSearch = function(searchString) { |
71 this.searchString = typeof searchString !== "undefined" ? searchString : ''; |
64 this.searchString = typeof searchString !== "undefined" ? searchString : ''; |
72 var _n = this.refresh(true); |
65 var _n = this.refresh(true); |
73 if (this.searchString) { |
66 if (this.searchString) { |