test/oggvideo.htm
branchplayers-as-widgets
changeset 958 2aa7fdb0762a
parent 957 4da0a5740b6c
child 959 ee11ed1b739e
--- 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);
         </script>