diff -r 7c1d08cf6956 -r e1baacb52075 test/mashup/player-local-html.htm --- a/test/mashup/player-local-html.htm Fri Sep 14 10:38:04 2012 +0900 +++ b/test/mashup/player-local-html.htm Wed Sep 19 14:11:49 2012 +0900 @@ -55,46 +55,39 @@ url: 'bab_files/mashup-local-html.json', format: 'ldt' }; -var _config = { - gui: { - width : 630, - container : 'LdtPlayer', - default_options: { - metadata: _metadata +var _config = { + width : 630, + container : 'LdtPlayer', + default_options: { + metadata: _metadata + }, + css : '../metadataplayer/LdtPlayer-core.css', + widgets: [ + { type: "MashupPlayer" }, + { type: "Slider" }, + { type: "Controller" }, + { + type: "Segments", + annotation_type: false }, - css : '../metadataplayer/LdtPlayer-core.css', - widgets: [ - { type: "Slider" }, - { type: "Controller" }, - { - type: "Segments", - annotation_type: false - }, - { type: "Arrow" }, - { - type: "Annotation", - annotation_type: false - }, - { - type: "MediaList", - container: "mediaList" - }, - { - type: "AnnotationsList", - container: "annotationList", - ajax_url: "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?", - ajax_granularity: 30000, - limit_count: 3 - }, - { type: "Mediafragment" } - ] - }, - player:{ - type:'mashup-html', - height: 350, - width: 630, - metadata: _metadata - } + { type: "Arrow" }, + { + type: "Annotation", + annotation_type: false + }, + { + type: "MediaList", + container: "mediaList" + }, + { + type: "AnnotationsList", + container: "annotationList", + ajax_url: "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?", + ajax_granularity: 30000, + limit_count: 3 + }, + { type: "Mediafragment" } + ] }; _myPlayer = new IriSP.Metadataplayer(_config);