test/vimeo.htm
branchplayers-as-widgets
changeset 959 ee11ed1b739e
parent 941 1e64e46a954f
child 960 9a278b9e3b05
equal deleted inserted replaced
958:2aa7fdb0762a 959:ee11ed1b739e
    13     <body>
    13     <body>
    14         <h1>Metadataplayer test with Dailymotion</h1>
    14         <h1>Metadataplayer test with Dailymotion</h1>
    15         <div id="LdtPlayer"></div>
    15         <div id="LdtPlayer"></div>
    16         <div id="AnnotationsListContainer"></div>
    16         <div id="AnnotationsListContainer"></div>
    17         <script type="text/javascript">
    17         <script type="text/javascript">
    18             testConfig('json/ldt-vimeo.json', true);
    18 IriSP.libFiles.defaultDir = "libs/";
       
    19 IriSP.widgetsDir = "metadataplayer";
       
    20 var _metadata = {
       
    21     url: "json/ldt-vimeo.json",
       
    22     format: 'ldt'
       
    23 };
       
    24 var _config = {
       
    25     width : 620,
       
    26     container : 'LdtPlayer',
       
    27     default_options: {
       
    28         metadata: _metadata
       
    29     },
       
    30     css : 'metadataplayer/LdtPlayer-core.css',
       
    31     widgets: [
       
    32         { type: "AutoPlayer" },
       
    33         { type: "Sparkline" },
       
    34         { type: "Slider" },
       
    35         { type: "Controller" },
       
    36         { type: "Polemic" },
       
    37         { type: "Segments" },
       
    38         { type: "Slice" },
       
    39         { type: "Arrow" },
       
    40         { type: "Annotation" },
       
    41         { type: "CreateAnnotation" },
       
    42         { type: "Tweet" },
       
    43         { type: "Tagcloud" },
       
    44         {
       
    45             type: "AnnotationsList",
       
    46             container: "AnnotationsListContainer"
       
    47         },
       
    48         { type: "Mediafragment"}
       
    49     ]
       
    50 };
       
    51 _myPlayer = new IriSP.Metadataplayer(_config);
    19         </script>
    52         </script>
    20     </body>
    53     </body>
    21 </html>
    54 </html>