equal
deleted
inserted
replaced
50 |
50 |
51 IriSP.libFiles.defaultDir = "../libs/"; |
51 IriSP.libFiles.defaultDir = "../libs/"; |
52 IriSP.widgetsDir = "../metadataplayer"; |
52 IriSP.widgetsDir = "../metadataplayer"; |
53 IriSP.language = 'fr'; |
53 IriSP.language = 'fr'; |
54 var _metadata = { |
54 var _metadata = { |
55 url: 'bab_files/mashup.json', |
55 // url: 'bab_files/mashup.json', |
56 // url: 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/b2754186-a0c9-11e0-b8bd-00145ea49a02?callback=?', |
56 // url: 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/b2754186-a0c9-11e0-b8bd-00145ea49a02?callback=?', |
57 // url: 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/5afd8bbe-9b75-11e1-9e5d-00145ea4a2be?callback=?', |
57 url: 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/5afd8bbe-9b75-11e1-9e5d-00145ea4a2be?callback=?', |
58 format: 'ldt' |
58 format: 'ldt' |
59 }; |
59 }; |
60 var _canPlayMp4 = document.createElement('video').canPlayType('video/mp4'); |
60 var _canPlayMp4 = document.createElement('video').canPlayType('video/mp4'); |
61 var _config = { |
61 var _config = { |
62 gui: { |
62 gui: { |
77 { |
77 { |
78 type: "Annotation", |
78 type: "Annotation", |
79 annotation_type: false |
79 annotation_type: false |
80 }, |
80 }, |
81 { |
81 { |
|
82 type: "Tagger" |
|
83 }, |
|
84 { |
82 type: "MediaList", |
85 type: "MediaList", |
83 container: "mediaList" |
86 container: "mediaList" |
84 }, |
87 }, |
85 { |
88 { |
86 type: "AnnotationsList", |
89 type: "AnnotationsList", |
87 container: "annotationList", |
90 container: "annotationList", |
88 ajax_url: "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?", |
91 //ajax_url: "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?", |
89 ajax_granularity: 30000, |
92 //ajax_granularity: 30000, |
90 limit_count: 3 |
93 //limit_count: 3 |
91 }, |
94 }, |
92 { type: "Mediafragment" } |
95 { type: "Mediafragment" } |
93 ] |
96 ] |
94 }, |
97 }, |
95 player:{ |
98 player:{ |