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-dailymotion.json', true, 'http://www.dailymotion.com/video/xodjrx_data-expression_creation'); |
18 IriSP.libFiles.defaultDir = "libs/"; |
|
19 IriSP.widgetsDir = "metadataplayer"; |
|
20 var _metadata = { |
|
21 url: "json/ldt-dailymotion.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> |