equal
deleted
inserted
replaced
162 { |
162 { |
163 type: "Annotation", |
163 type: "Annotation", |
164 annotation_type: [ "chap", "découpage" ] |
164 annotation_type: [ "chap", "découpage" ] |
165 }, |
165 }, |
166 { type: "Tweet" }, |
166 { type: "Tweet" }, |
|
167 <?php if (!$use_protocol): ?> |
167 { |
168 { |
168 type: "Tagcloud", |
169 type: "Tagcloud", |
169 container: "TagcloudContainer", |
170 container: "TagcloudContainer", |
170 exclude_pattern: /^@/, |
171 exclude_pattern: /^@/, |
171 custom_stopwords: <?php echo json_encode(array($config['hashtag'])) ?> |
172 custom_stopwords: <?php echo json_encode(array($config['hashtag'])) ?> |
173 { |
174 { |
174 type: "AnnotationsList", |
175 type: "AnnotationsList", |
175 //ajax_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?", |
176 //ajax_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?", |
176 //foreign_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}}", |
177 //foreign_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}}", |
177 container: "AnnotationsListContainer" |
178 container: "AnnotationsListContainer" |
178 <?php if ($protocol_level < 3): ?> |
179 }, |
179 , |
180 <?php endif; ?> |
180 polemics: [] |
|
181 <?php endif; ?> |
|
182 }, |
|
183 <?php endif; ?> |
181 <?php endif; ?> |
184 { type: "Mediafragment"}, |
182 { type: "Mediafragment"}, |
|
183 <?php if ($use_protocol): ?> |
185 { |
184 { |
186 type: "Trace", |
185 type: "Trace", |
187 tracer: _tracer, |
186 tracer: _tracer, |
188 extend: { |
187 extend: { |
189 cookie: _cookie, |
188 cookie: _cookie, |
190 protocol_level: _protocol_level |
189 protocol_level: _protocol_level |
191 }, |
190 }, |
192 js_console: true |
191 js_console: true |
193 } |
192 } |
|
193 <?php endif; ?> |
194 ] |
194 ] |
195 }, |
195 }, |
196 player:{ |
196 player:{ |
197 type:'jwplayer', // player type |
197 type:'jwplayer', // player type |
198 live: true, |
198 live: true, |