166 exclude_pattern: /^@/, |
166 exclude_pattern: /^@/, |
167 custom_stopwords: <?php echo json_encode(array($translate->_('config__hashtag'))) ?> |
167 custom_stopwords: <?php echo json_encode(array($translate->_('config__hashtag'))) ?> |
168 }, |
168 }, |
169 { |
169 { |
170 type: "AnnotationsList", |
170 type: "AnnotationsList", |
171 //ajax_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?", |
171 //ajax_url : "<?php echo(LDT_PLATFORM); ?>ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?", |
172 //foreign_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}}", |
172 //foreign_url : "<?php echo(LDT_PLATFORM); ?>ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}}", |
173 container: "AnnotationsListContainer" |
173 container: "AnnotationsListContainer" |
174 }, |
174 }, |
175 { |
175 { |
176 type: "CreateAnnotation", |
176 type: "CreateAnnotation", |
177 api_endpoint_template: "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/1.0/annotations/", |
177 api_endpoint_template: "<?php echo(LDT_PLATFORM); ?>ldtplatform/api/ldt/1.0/annotations/", |
178 api_method: 'POST', |
178 api_method: 'POST', |
179 after_send_timeout: 8000, |
179 after_send_timeout: 8000, |
180 show_mic_record: false, |
180 show_mic_record: false, |
181 close_after_send: false, |
181 close_after_send: false, |
182 slice_annotation_type: ["chap","découpage"], |
182 slice_annotation_type: ["chap","découpage"], |