|
0
|
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
|
3 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
|
0
|
4 |
<?php $url = "http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/" . $_GET["stream"] ?> |
|
|
5 |
<head> |
|
|
6 |
<title>Metadataplayer - Demo</title> |
|
|
7 |
<link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow' rel='stylesheet' type='text/css'> |
|
|
8 |
<link href="style.css" rel="stylesheet" type="text/css"> |
|
|
9 |
<script src="LdtPlayer-release.js" type="text/javascript"></script> |
|
|
10 |
<script src="jquery.min.js" type="text/javascript"></script> |
|
|
11 |
<script src="jquery.tools.min.js" type="text/javascript"></script> |
|
|
12 |
<script src="jquery-ui.js" type="text/javascript"></script> |
|
|
13 |
|
|
|
14 |
</head> |
|
|
15 |
|
|
|
16 |
<body> |
|
|
17 |
<div id="outer_div"> |
|
|
18 |
<div id="banner"> |
|
3
|
19 |
<img src="../crea/imgs/enmi_logo.png" style="margin-left: 45px; float: left;"></img> |
|
|
20 |
<img src="../crea/imgs/iri.png" style="margin-right: 32px; float: right;"></img> |
|
0
|
21 |
<div style="clear: both;"></div> |
|
|
22 |
</div> |
|
|
23 |
|
|
|
24 |
<div id="inner_div"> |
|
|
25 |
<div id="intro_title"> |
|
|
26 |
Metadataplayer, un outil opensource pour le web |
|
|
27 |
</div> |
|
|
28 |
|
|
|
29 |
<table border=0 id="content"> |
|
|
30 |
<tr> |
|
|
31 |
<td id="left_pane"></td> |
|
|
32 |
<td id="right_pane"> |
|
|
33 |
<img src="imgs/technos.png" style="margin-top: 5px; margin-left: -3px;"></img> |
|
|
34 |
<div id="caption_text"> |
|
|
35 |
Le MetaData player est une librarie opensource con�ue pour afficher, produire et partager des m�tadonn�es associ�es |
|
|
36 |
� des segments de contenus audiovisuels diffus�s sur le Web. |
|
|
37 |
Il tire parti des derniers standards technologiques (html5, W3C mediafragment, popcorn.js de la fondation Mozilla). |
|
|
38 |
Cette interface sera prochainement utilis�e pour le festival cinecast. |
|
|
39 |
<br><br> |
|
|
40 |
<b>Application</b> |
|
|
41 |
Visualisation et navigation dans les annotations pol�miques sur le film "entre les murs" de Laurent Cantet. |
|
|
42 |
<br> |
|
|
43 |
1500 annotations ont �t� produites par un groupe d'enseignants, de chercheurs, d'�l�ves et d'amateurs de cin�ma sur |
|
|
44 |
la plateforme lignes de temps. |
|
|
45 |
</div> |
|
|
46 |
</td> |
|
|
47 |
</table> |
|
|
48 |
|
|
|
49 |
<div id="partners"> |
|
|
50 |
<h4 style="padding: 5px; margin: 0px;">Partenaires</h4> |
|
3
|
51 |
<img src="../crea/imgs/partners.png"></img> |
|
0
|
52 |
</div> |
|
|
53 |
|
|
|
54 |
<div id="footer"> |
|
|
55 |
<a href="http://www.iri.centrepompidou.fr">iri.centrepompidou.fr</a> |
|
|
56 |
</div> |
|
|
57 |
</div> |
|
|
58 |
|
|
|
59 |
</div> |
|
|
60 |
<div id="closing_div"></div> |
|
|
61 |
<script type="text/javascript"> |
|
|
62 |
$(document).ready(function() { |
|
|
63 |
var config = { |
|
|
64 |
gui:{ |
|
|
65 |
width:640, |
|
|
66 |
height:480, |
|
|
67 |
container:'left_pane', |
|
|
68 |
css:'LdtPlayer.css', |
|
|
69 |
widgets: [ |
|
|
70 |
{type: "PolemicWidget", |
|
|
71 |
width: 640, /* required for this widget */ |
|
|
72 |
height: 50, |
|
|
73 |
heightmax: 50, |
|
|
74 |
metadata:{ |
|
|
75 |
format:'cinelab', |
|
|
76 |
src:"<?php echo $url ?>", |
|
|
77 |
type:'json'}, |
|
|
78 |
|
|
|
79 |
requires: [{ |
|
|
80 |
type: "TooltipWidget", |
|
|
81 |
width: 180, |
|
|
82 |
height: 160, |
|
|
83 |
metadata : { |
|
|
84 |
format:'cinelab', |
|
|
85 |
src:"<?php echo $url ?>", |
|
|
86 |
type:'empty' |
|
|
87 |
} |
|
|
88 |
}], |
|
|
89 |
}, |
|
|
90 |
{type: "SliderWidget", |
|
|
91 |
width: 640, |
|
|
92 |
metadata:{ |
|
|
93 |
format:'cinelab', |
|
|
94 |
src:"<?php echo $url ?>", |
|
|
95 |
type:'json'} |
|
|
96 |
}, |
|
|
97 |
{type: "PlayerWidget", // please note that type refers directly to the constructor of the widget. |
|
|
98 |
mode: "radio", |
|
|
99 |
width: 640, |
|
|
100 |
metadata:{ |
|
|
101 |
format:'cinelab', |
|
|
102 |
src:"<?php echo $url ?>", |
|
|
103 |
type:'json'} |
|
|
104 |
}, |
|
|
105 |
{type: "SegmentsWidget", |
|
|
106 |
width: 640, |
|
|
107 |
metadata:{ |
|
|
108 |
format:'cinelab', |
|
|
109 |
src:"<?php echo $url ?>", |
|
|
110 |
type:'json'}, |
|
|
111 |
requires: [{ |
|
|
112 |
type: "TooltipWidget", |
|
|
113 |
width: 180, |
|
|
114 |
height: 160, |
|
|
115 |
metadata : { |
|
|
116 |
type:'empty' |
|
|
117 |
} |
|
|
118 |
}], |
|
|
119 |
}, |
|
|
120 |
{type: "ArrowWidget", |
|
|
121 |
metadata:{ |
|
|
122 |
format:'cinelab', |
|
|
123 |
src:"<?php echo $url ?>", |
|
|
124 |
type:'json'} |
|
|
125 |
}, |
|
|
126 |
{type: "AnnotationsWidget", |
|
|
127 |
metadata:{ |
|
|
128 |
format:'cinelab', |
|
|
129 |
src:"<?php echo $url ?>", |
|
|
130 |
type:'json'} |
|
|
131 |
}, |
|
|
132 |
{type: "TweetsWidget", |
|
|
133 |
metadata:{ |
|
|
134 |
format:'cinelab', |
|
|
135 |
src:"<?php echo $url ?>", |
|
|
136 |
type:'json'} |
|
|
137 |
} |
|
|
138 |
] |
|
|
139 |
}, |
|
|
140 |
player:{ |
|
|
141 |
type:'jwplayer', // player type |
|
|
142 |
flashplayer: 'player.swf', |
|
|
143 |
live: true, |
|
|
144 |
"controlbar.position" : "none", |
|
|
145 |
height: 300, |
|
|
146 |
width: 640, |
|
|
147 |
provider: "rtmp" |
|
|
148 |
}, |
|
|
149 |
modules: [ |
|
|
150 |
{ type: "MediaFragment", |
|
|
151 |
metadata:{ |
|
|
152 |
format:'cinelab', |
|
|
153 |
src:"<?php echo $url ?>", |
|
|
154 |
type:'json'} |
|
|
155 |
}] |
|
|
156 |
|
|
|
157 |
}; |
|
|
158 |
|
|
|
159 |
IriSP.lib = { |
|
|
160 |
jQuery : "jquery.js", |
|
|
161 |
jQueryUI : "jquery-ui.js", |
|
|
162 |
jQueryToolTip : "jquery.tools.min.js", |
|
|
163 |
swfObject : "swfobject.js", |
|
|
164 |
cssjQueryUI : "jquery-ui.css", |
|
|
165 |
}; |
|
|
166 |
|
|
|
167 |
IriSP.loadLibs(IriSP.lib, config.gui.css, "<?php echo $url ?>", |
|
|
168 |
function() { |
|
|
169 |
var layoutManager = new IriSP.LayoutManager(config.gui); |
|
|
170 |
var pop = IriSP.configurePopcorn(layoutManager, config.player); |
|
|
171 |
|
|
|
172 |
var modules = IriSP.configureModules(pop, config.modules); |
|
|
173 |
var widgets = IriSP.configureWidgets(pop, layoutManager, config.gui); }); |
|
|
174 |
|
|
|
175 |
}); |
|
|
176 |
</script> |
|
|
177 |
|
|
|
178 |
</body> |
|
|
179 |
</html> |