equal
deleted
inserted
replaced
23 <script type="text/javascript"> |
23 <script type="text/javascript"> |
24 IriSP.libFiles.defaultDir = "/metadataplayer/src/js/libs/"; |
24 IriSP.libFiles.defaultDir = "/metadataplayer/src/js/libs/"; |
25 IriSP.widgetsDir = "/metadataplayer/src/widgets" |
25 IriSP.widgetsDir = "/metadataplayer/src/widgets" |
26 IriSP.jwplayer_swf_path = "../libs/player.swf"; |
26 IriSP.jwplayer_swf_path = "../libs/player.swf"; |
27 var _metadata = { |
27 var _metadata = { |
28 url: 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/f1a17368-2bc8-11e1-b21a-00145ea49a02?callback=?', |
28 url: 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/13b0aa52-336b-11e0-b233-00145ea49a02?callback=?', |
29 format: 'ldt' |
29 format: 'ldt' |
30 }; |
30 }; |
31 var _config = { |
31 var _config = { |
32 gui: { |
32 gui: { |
33 width:640, |
33 width:640, |
89 }, |
89 }, |
90 { |
90 { |
91 type: "Segments" |
91 type: "Segments" |
92 }, |
92 }, |
93 { |
93 { |
|
94 type: "Slice" |
|
95 }, |
|
96 { |
94 type: "Arrow" |
97 type: "Arrow" |
95 }, |
98 }, |
96 { |
99 { |
97 type: "Annotation" |
100 type: "Annotation" |
|
101 }, |
|
102 { |
|
103 type: "Tweet" |
|
104 }, |
|
105 { |
|
106 type: "Tagcloud" |
98 }, |
107 }, |
99 { |
108 { |
100 type: "AnnotationsList", |
109 type: "AnnotationsList", |
101 //ajax_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?", |
110 //ajax_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?", |
102 foreign_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}}", |
111 foreign_url : "http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/front/player/{{media}}/{{project}}/{{annotationType}}#id={{annotation}}", |
103 annotation_type : "tweet", |
112 annotation_type : "tweet", |
104 container: "AnnotationsListContainer" |
113 container: "AnnotationsListContainer" |
105 } |
114 }, |
|
115 { type: "Mediafragment"} |
106 ] |
116 ] |
107 }, |
117 }, |
108 player:{ |
118 player:{ |
109 type:'jwplayer', // player type |
119 type:'jwplayer', // player type |
110 live: true, |
120 live: true, |