diff -r 4da0a5740b6c -r 2aa7fdb0762a test/oggvideo.htm --- a/test/oggvideo.htm Mon Sep 17 00:17:06 2012 +0900 +++ b/test/oggvideo.htm Mon Sep 17 22:44:59 2012 +0900 @@ -21,43 +21,32 @@ url: "json/ldt-ogv.json", format: 'ldt' }; -var _config = { - gui: { - width : 620, - container : 'LdtPlayer', - default_options: { - metadata: _metadata +var _config = { + width : 620, + container : 'LdtPlayer', + default_options: { + metadata: _metadata + }, + css : 'metadataplayer/LdtPlayer-core.css', + widgets: [ + { type: "PopcornPlayer" }, + { type: "Sparkline" }, + { type: "Slider" }, + { type: "Controller" }, + { type: "Polemic" }, + { type: "Segments" }, + { type: "Slice" }, + { type: "Arrow" }, + { type: "Annotation" }, + { type: "CreateAnnotation" }, + { type: "Tweet" }, + { type: "Tagcloud" }, + { + type: "AnnotationsList", + container: "AnnotationsListContainer" }, - css : 'metadataplayer/LdtPlayer-core.css', - widgets: [ - { type: "PopcornPlayer"}, - { type: "Sparkline" }, - { type: "Slider" }, - { type: "Controller" }, - { type: "Polemic" }, - { type: "Segments" }, - { type: "Slice" }, - { type: "Arrow" }, - { type: "Annotation" }, - { type: "CreateAnnotation" }, - { type: "Tweet" }, - { type: "Tagcloud" }, - { - type: "AnnotationsList", - container: "AnnotationsListContainer" - }, - { type: "Mediafragment"} - ] - }, - player:{ - type:'auto', - live: true, - height: 350, - width: 620, - provider: "rtmp", - autostart: true, - metadata: _metadata - } + { type: "Mediafragment"} + ] }; _myPlayer = new IriSP.Metadataplayer(_config);