| author | veltr |
| Thu, 19 Apr 2012 19:20:41 +0200 | |
| branch | new-model |
| changeset 872 | d777d05a16e4 |
| parent 744 | 76400fd4ce70 |
| permissions | -rw-r--r-- |
| 510 | 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: [ |
|
|
566
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
31 |
{type: "PolemicWidget", |
|
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
32 |
width: 640, /* required for this widget */ |
|
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
33 |
height: 50, |
|
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
34 |
metadata:{ |
|
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
35 |
format:'cinelab', |
|
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
36 |
src:'http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02', |
|
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
37 |
type:'json'}, |
|
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
38 |
|
|
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
39 |
requires: [{ |
|
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
40 |
type: "TooltipWidget", |
|
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
41 |
width: 180, |
|
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
42 |
heigh: 160, |
|
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
43 |
metadata : { |
|
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
44 |
format:'cinelab', |
|
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
45 |
src:'http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02', |
|
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
46 |
type:'empty' |
|
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
47 |
} |
|
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
48 |
}], |
|
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
49 |
}, |
| 510 | 50 |
{type: "SliderWidget", |
51 |
metadata:{ |
|
52 |
format:'cinelab', |
|
|
566
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
53 |
src:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02", |
| 510 | 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', |
|
|
566
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
60 |
src:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02", |
| 510 | 61 |
type:'json'} |
62 |
}, |
|
63 |
{type: "SegmentsWidget", |
|
64 |
metadata:{ |
|
65 |
format:'cinelab', |
|
|
566
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
66 |
src:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02", |
| 510 | 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', |
|
|
566
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
80 |
src:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02", |
| 510 | 81 |
type:'json'} |
82 |
}, |
|
83 |
||
84 |
{type: "AnnotationsWidget", |
|
85 |
metadata:{ |
|
86 |
format:'cinelab', |
|
|
566
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
87 |
src:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02", |
| 510 | 88 |
type:'json'} |
89 |
}, |
|
90 |
{type: "TweetsWidget", |
|
91 |
metadata:{ |
|
92 |
format:'cinelab', |
|
|
566
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
93 |
src:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02", |
| 510 | 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', |
|
|
566
098929cd2d62
made the polemicwidget adjust its size automatically and fixed a couple edgecases.
hamidouk
parents:
510
diff
changeset
|
111 |
src:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/ae6827dc-1f29-11e1-a049-00145ea49a02", |
| 510 | 112 |
type:'json'} |
113 |
}] |
|
114 |
||
115 |
}; |
|
116 |
|
|
|
744
76400fd4ce70
changed the files to follow the simpler embed convention.
hamidouk
parents:
566
diff
changeset
|
117 |
IriSP.initPlayer(config, "polemic_fr.json"); |
| 510 | 118 |
</script> |
119 |
||
120 |
||
121 |
</body> |
|
122 |
<div id="PopcornContainer"></div> |
|
123 |
</html> |