5 <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> |
5 <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> |
6 <title>Metadataplayer test with HTML5 / OGG Video</title> |
6 <title>Metadataplayer test with HTML5 / OGG Video</title> |
7 <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic' rel='stylesheet' type='text/css'> |
7 <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic' rel='stylesheet' type='text/css'> |
8 <link href='test.css' rel='stylesheet' type='text/css'> |
8 <link href='test.css' rel='stylesheet' type='text/css'> |
9 <script type="text/javascript" src="metadataplayer/LdtPlayer-core.js" type="text/javascript"></script> |
9 <script type="text/javascript" src="metadataplayer/LdtPlayer-core.js" type="text/javascript"></script> |
10 <script type="text/javascript" src="test-config.js" type="text/javascript"></script> |
|
11 </head> |
10 </head> |
12 |
11 |
13 <body> |
12 <body> |
14 <h1>Metadataplayer test with HTML5 / H.264 Video - Does not work with Firefox</h1> |
13 <h1>Metadataplayer test with HTML5 / H.264 Video - Does not work with Firefox</h1> |
15 <div id="LdtPlayer"></div> |
14 <div id="LdtPlayer"></div> |
16 <div id="AnnotationsListContainer"></div> |
15 <div id="AnnotationsListContainer"></div> |
17 <script type="text/javascript"> |
16 <script type="text/javascript"> |
18 testConfig('json/ldt-ogv.json', true, "trailer.mp4", "html5"); |
17 IriSP.libFiles.defaultDir = "libs/"; |
|
18 IriSP.widgetsDir = "metadataplayer"; |
|
19 var _metadata = { |
|
20 url: "json/ldt-ogv.json", |
|
21 format: 'ldt' |
|
22 }; |
|
23 var _config = { |
|
24 width : 620, |
|
25 container : 'LdtPlayer', |
|
26 default_options: { |
|
27 metadata: _metadata |
|
28 }, |
|
29 css : 'metadataplayer/LdtPlayer-core.css', |
|
30 widgets: [ |
|
31 { |
|
32 type: "PopcornPlayer", |
|
33 video: "trailer.mp4" |
|
34 }, |
|
35 { type: "Sparkline" }, |
|
36 { type: "Slider" }, |
|
37 { type: "Controller" }, |
|
38 { type: "Polemic" }, |
|
39 { type: "Segments" }, |
|
40 { type: "Slice" }, |
|
41 { type: "Arrow" }, |
|
42 { type: "Annotation" }, |
|
43 { type: "CreateAnnotation" }, |
|
44 { type: "Tweet" }, |
|
45 { type: "Tagcloud" }, |
|
46 { |
|
47 type: "AnnotationsList", |
|
48 container: "AnnotationsListContainer" |
|
49 }, |
|
50 { type: "Mediafragment"} |
|
51 ] |
|
52 }; |
|
53 _myPlayer = new IriSP.Metadataplayer(_config); |
19 </script> |
54 </script> |
20 </body> |
55 </body> |
21 </html> |
56 </html> |