1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
|
2 <html dir="ltr" xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml" lang="fr"> |
|
3 |
|
4 <head> |
|
5 <title>Metadataplayer - Polemic tweet integration test</title> |
|
6 </head> |
|
7 |
|
8 <body> |
|
9 |
|
10 <div style="width:650px;font-family: 'Trebuchet MS', 'Helvetica', 'Arial', 'Verdana', 'sans-serif';"> |
|
11 <h1>MetaDataPlayer</h1> |
|
12 Polemic tweet integration test - loading an outside ressource using JSONP. |
|
13 </div> |
|
14 |
|
15 |
|
16 <!-- START Integration ###################################### --> |
|
17 <!-- SIMPLE PLAYER EXPERIMENTATION --> |
|
18 <script type="text/javascript" src="../../build/LdtPlayer-release.js" type="text/javascript"></script> |
|
19 |
|
20 <div id="video"></div> |
|
21 <div id="LdtPlayer"></div> |
|
22 |
|
23 <script type="text/javascript"> |
|
24 var config = { |
|
25 gui:{ |
|
26 width:650, |
|
27 height:2100, |
|
28 container:'LdtPlayer', |
|
29 css:'../../src/css/LdtPlayer.css', |
|
30 widgets: [ |
|
31 {type: "PolemicWidget", |
|
32 width: 640, /* required for this widget */ |
|
33 height: 50, |
|
34 metadata:{ |
|
35 format:'cinelab', |
|
36 src:'http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02', |
|
37 type:'json'}, |
|
38 |
|
39 requires: [{ |
|
40 type: "TooltipWidget", |
|
41 width: 180, |
|
42 heigh: 160, |
|
43 metadata : { |
|
44 format:'cinelab', |
|
45 src:'http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02', |
|
46 type:'empty' |
|
47 } |
|
48 }], |
|
49 }, |
|
50 {type: "SliderWidget", |
|
51 metadata:{ |
|
52 format:'cinelab', |
|
53 src:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02", |
|
54 type:'json'} |
|
55 }, |
|
56 {type: "PlayerWidget", // please note that type refers directly to the constructor of the widget. |
|
57 mode: "radio", |
|
58 metadata:{ |
|
59 format:'cinelab', |
|
60 src:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02", |
|
61 type:'json'} |
|
62 }, |
|
63 {type: "SegmentsWidget", |
|
64 metadata:{ |
|
65 format:'cinelab', |
|
66 src:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02", |
|
67 type:'json'}, |
|
68 requires: [{ |
|
69 type: "TooltipWidget", |
|
70 width: 180, |
|
71 heigh: 160, |
|
72 metadata : { |
|
73 type:'empty' |
|
74 } |
|
75 }], |
|
76 }, |
|
77 {type: "ArrowWidget", |
|
78 metadata:{ |
|
79 format:'cinelab', |
|
80 src:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02", |
|
81 type:'json'} |
|
82 }, |
|
83 |
|
84 {type: "AnnotationsWidget", |
|
85 metadata:{ |
|
86 format:'cinelab', |
|
87 src:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02", |
|
88 type:'json'} |
|
89 }, |
|
90 {type: "TweetsWidget", |
|
91 metadata:{ |
|
92 format:'cinelab', |
|
93 src:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02", |
|
94 type:'json'} |
|
95 } |
|
96 ] |
|
97 }, |
|
98 player:{ |
|
99 type:'jwplayer', // player type |
|
100 flashplayer : '../libs/player.swf', |
|
101 live: true, |
|
102 "controlbar.position" : "none", |
|
103 height: 300, |
|
104 width: 640, |
|
105 provider: "rtmp" |
|
106 }, |
|
107 modules: [ |
|
108 { type: "MediaFragment", |
|
109 metadata:{ |
|
110 format:'cinelab', |
|
111 src:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02", |
|
112 type:'json'} |
|
113 }] |
|
114 |
|
115 }; |
|
116 |
|
117 IriSP.initPlayer(config, "polemic_fr.json"); |
|
118 </script> |
|
119 |
|
120 |
|
121 </body> |
|
122 <div id="PopcornContainer"></div> |
|
123 </html> |
|