|
15
|
1 |
<!doctype html> |
|
|
2 |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="fr"> <![endif]--> |
|
|
3 |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="fr"> <![endif]--> |
|
|
4 |
<!--[if IE 8]> <html class="no-js lt-ie9" lang="fr"> <![endif]--> |
|
|
5 |
<!--[if gt IE 8]><!--> <html class="no-js" lang="fr"> <!--<![endif]--> |
|
|
6 |
<head> |
|
|
7 |
<meta charset="utf-8"> |
|
|
8 |
<title>Digital Studies - Home</title> |
|
|
9 |
<link rel="stylesheet" href="./lib/bootstrap/css/bootstrap.min.css"> |
|
|
10 |
<link rel="stylesheet" href="./css/ds.css"> |
|
|
11 |
</head> |
|
|
12 |
<body> |
|
|
13 |
<div id="wrapper"> |
|
|
14 |
<header class="navbar navbar-inverse" role="banner"> |
|
|
15 |
<div class="container"> |
|
|
16 |
<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation"> |
|
|
17 |
<ul class="nav navbar-nav"> |
|
|
18 |
<li> |
|
|
19 |
<a class="videolink hand" data-videoid="0"><img src="./img/logodsrose2" alt="Logo Digital Studies" /></a> |
|
|
20 |
</li> |
|
|
21 |
</ul> |
|
|
22 |
<ul class="nav navbar-nav" style="float:right;"> |
|
|
23 |
<li><a href="http://www.lemonde.fr" target="_blank" title="Article de Bernard Stiegler dans Le Monde">Le Monde</a></li> |
|
|
24 |
<li><a href="http://www.france-universite-numerique.fr/" target="_blank" title="France Université Numérique">FUN</a></li> |
|
|
25 |
<li><a href="http://pharmakon.fr/" target="_blank">Pharmakon</a></li> |
|
|
26 |
<li><a href="http://digital-studies.org/" target="_blank">Digital Studies</a></li> |
|
|
27 |
</ul> |
|
|
28 |
</nav> |
|
|
29 |
</div> |
|
|
30 |
</header> |
|
|
31 |
<div class="container"> |
|
|
32 |
<div class="row" style="margin-top: -10px;"> |
|
|
33 |
<div class="col-md-1" style="padding-bottom:10px;"><a href="index.html" class="btn btn-info"><i class="glyphicon glyphicon-chevron-left"></i></a></div> |
|
|
34 |
</div> |
|
|
35 |
<div class="row"> |
|
|
36 |
<div class="col-md-12" id="videocontainer" >Pour commencer, cliquez sur "Vidéo chapitrée du résumé" ou "Vidéo complète chapitrée"</div> |
|
|
37 |
</div> |
|
|
38 |
<div class="row" style="margin-top: 10px;"> |
|
|
39 |
<div id='RenkanContainer' class='col-md-12 renkan_visible'></div> |
|
|
40 |
</div> |
|
|
41 |
</div> |
|
|
42 |
<footer> |
|
|
43 |
<div class="container row"> |
|
|
44 |
<div class="footer-img col-md-6"> |
|
|
45 |
<a href="http://www.iri.centrepompidou.fr" target="_blank"><img src="./img/logo_IRI_footer.png" alt="Logo IRI" /></a> |
|
|
46 |
<a href="http://arsindustrialis.org/" target="_blank"><img src="./img/logoarsindustrialis.jpg" alt="Logo ars" /></a> |
|
|
47 |
<a href="http://pharmakon.fr/" target="_blank"><img src="./img/logo_pharmakon.png" alt="Logo Pharmakon" /></a> |
|
|
48 |
</div> |
|
|
49 |
<div class="col-md-6"> |
|
|
50 |
<div class="text-right" id="copyright-version">©2013 <a href="http://www.iri.centrepompidou.fr" target="_blank">IRI</a></div> |
|
|
51 |
</div> |
|
|
52 |
</div> |
|
|
53 |
</footer> |
|
|
54 |
</div> |
|
|
55 |
<script type="text/javascript" src="./lib/jquery-1.9.1.js"></script> |
|
|
56 |
<script type="text/javascript" src="./lib/jquery.history.js"></script> |
|
|
57 |
<script type="text/javascript" src="./lib/bootstrap/js/bootstrap.min.js"></script> |
|
|
58 |
<script type="text/javascript"> |
|
|
59 |
|
|
|
60 |
var cur_vid = ""; |
|
|
61 |
var display_renkan = true; |
|
|
62 |
|
|
|
63 |
function playVideo(n, segid, update_h){ |
|
|
64 |
// test segid |
|
|
65 |
if(!(typeof segid !== 'undefined' && segid !== false)){ |
|
|
66 |
segid = ""; |
|
|
67 |
} |
|
|
68 |
|
|
|
69 |
var fire_hash_changed = false; |
|
|
70 |
|
|
|
71 |
if(cur_vid!=n){ |
|
|
72 |
if (n=="1" || n=="2" || n=="3" || n=="4" || n=="5" || n=="6" || n=="7"){ |
|
|
73 |
$("#videocontainer").html("<p>à venir, vidéo n°" + n + "</p>"); |
|
|
74 |
} |
|
|
75 |
else{ |
|
|
76 |
var s = '' |
|
|
77 |
+ '<div id="player_wrapper">' |
|
|
78 |
+ ' <div style="float:left; width:900px;" id="wrapper_player_project_a94ee060-49e9-11e2-b4ad-00145ea4a2be">' |
|
|
79 |
+ ' <div>' |
|
|
80 |
+ ' <div id="player_project_a94ee060-49e9-11e2-b4ad-00145ea4a2be_embed" class="iri_player_embed"></div>' |
|
|
81 |
+ ' <script type="text/javascript" src="./lib/metadataplayer/LdtPlayer-core.js"><\/script>' |
|
|
82 |
+ ' <script type="text/javascript">' |
|
|
83 |
+ 'if (typeof jQuery == "undefined") {' |
|
|
84 |
+ ' jQuery = IriSP.jQuery;' |
|
|
85 |
+ ' }' |
|
|
86 |
+ ' var metadatas = {metadata: {url: "./json/data__NUM_JSON__.json"}};' |
|
|
87 |
+ ' var metadata_key = "metadata";' |
|
|
88 |
+ ' IriSP.libFiles.defaultDir = "./js";' |
|
|
89 |
+ ' IriSP.libFiles.locations.jwPlayerSWF = "./player.swf";' |
|
|
90 |
+ ' IriSP.libFiles.locations.cssjQueryUI = "./css/jquery-ui.css";' |
|
|
91 |
+ ' IriSP.language = "fr-fr";' |
|
|
92 |
+ ' IriSP.widgetsDir = "./lib/metadataplayer";' |
|
|
93 |
+ ' var _metadata = {' |
|
|
94 |
+ ' url: metadatas[metadata_key].url,' |
|
|
95 |
+ ' format: "ldt"' |
|
|
96 |
+ ' };' |
|
|
97 |
+ ' var _config = {' |
|
|
98 |
+ ' width: "900",' |
|
|
99 |
+ ' container: "player_project_a94ee060-49e9-11e2-b4ad-00145ea4a2be_embed",' |
|
|
100 |
+ ' css: "./lib/metadataplayer/LdtPlayer-core.css",' |
|
|
101 |
+ ' default_options: {' |
|
|
102 |
+ ' metadata: _metadata' |
|
|
103 |
+ ' },' |
|
|
104 |
+ ' widgets: [' |
|
|
105 |
+ ' {' |
|
|
106 |
+ ' type: "AutoPlayer",' |
|
|
107 |
+ ' height: "360",' |
|
|
108 |
+ ' autostart: true,' |
|
|
109 |
+ ' url_transform: function(url) { if(url.substr(url.length - 4).toLowerCase()==".flv"){ return url.replace("/ddc_player/video/","/ddc_player/flv:video/"); } return url.replace("/ddc_player/video/","/ddc_player/mp4:video/"); }' |
|
|
110 |
+ ' }' |
|
|
111 |
+ ' ,{' |
|
|
112 |
+ ' type: "Polemic",' |
|
|
113 |
+ ' annotation_type: false,' |
|
|
114 |
+ ' defaultcolor: "#585858",' |
|
|
115 |
+ ' foundcolor: "#fc00ff",' |
|
|
116 |
+ ' polemics : [' |
|
|
117 |
+ ' {' |
|
|
118 |
+ ' "name" : "OK",' |
|
|
119 |
+ ' "keywords" : [ "++" ],' |
|
|
120 |
+ ' "color" : "#1d973d"' |
|
|
121 |
+ ' },' |
|
|
122 |
+ ' {' |
|
|
123 |
+ ' "name" : "KO",' |
|
|
124 |
+ ' "keywords" : [ "--" ],' |
|
|
125 |
+ ' "color" : "#ce0a15"' |
|
|
126 |
+ ' },' |
|
|
127 |
+ ' {' |
|
|
128 |
+ ' "name" : "REF",' |
|
|
129 |
+ ' "keywords" : [ "==", "http://" ],' |
|
|
130 |
+ ' "color" : "#c5a62d" ' |
|
|
131 |
+ ' },' |
|
|
132 |
+ ' {' |
|
|
133 |
+ ' "name" : "Q",' |
|
|
134 |
+ ' "keywords" : [ "?" ],' |
|
|
135 |
+ ' "color" : "#036aae"' |
|
|
136 |
+ ' }' |
|
|
137 |
+ ' ]' |
|
|
138 |
+ ' }' |
|
|
139 |
+ ' ,{' |
|
|
140 |
+ ' type: "Slider"' |
|
|
141 |
+ ' }' |
|
|
142 |
/*+ ' ,{' |
|
|
143 |
+ ' type: "AnnotationsList",' |
|
|
144 |
+ ' container: "AnnotationsList_ext",' |
|
|
145 |
+ ' ajax_url: "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/1.0/segments/bytimecode/{{media}}/{{begin}}/{{end}}",' |
|
|
146 |
+ ' ajax_granularity : 300000,' |
|
|
147 |
+ ' default_thumbnail : "./css/imgs/video_sequence.png",' |
|
|
148 |
+ ' show_audio: true,' |
|
|
149 |
+ ' rtmp_streamer: "rtmp://media.iri.centrepompidou.fr/ddc_micro_record/"' |
|
|
150 |
+ ' }'*/ |
|
|
151 |
+ ' ,{' |
|
|
152 |
+ ' type: "Controller"' |
|
|
153 |
+ ' }' |
|
|
154 |
+ ' ,{' |
|
|
155 |
// + ' type: "Segments",' |
|
|
156 |
// + ' annotation_type: ["chap","découpage"]' |
|
|
157 |
+ ' type: "MultiSegments"' |
|
|
158 |
+ ' }' |
|
|
159 |
// + ' ,{' |
|
|
160 |
// + ' type: "Annotation"' |
|
|
161 |
// + ' }' |
|
|
162 |
+ ' ,{' |
|
|
163 |
+ ' type: "Mediafragment"' |
|
|
164 |
+ ' }'; |
|
|
165 |
|
|
|
166 |
if(display_renkan==true){ |
|
|
167 |
var t = getURLParameter("type"); |
|
|
168 |
if(t=="thema"){ |
|
|
169 |
t = "bd79e8c3-3b12-11e3-8312-5fa5e5b09a85"; |
|
|
170 |
} |
|
|
171 |
else{ |
|
|
172 |
// Chrono |
|
|
173 |
t = "696e5544-3b44-11e3-8312-5fa5e5b09a85"; |
|
|
174 |
} |
|
|
175 |
s += '' |
|
|
176 |
+ ' ,{' |
|
|
177 |
+ ' type: "Renkan",' |
|
|
178 |
+ ' container: "RenkanContainer",' |
|
|
179 |
+ ' data: "http://renkan.iri-research.org/renkan/rest/projects/' + t + '?callback=?"' |
|
|
180 |
+ ' }'; |
|
|
181 |
} |
|
|
182 |
s += '' |
|
|
183 |
+ ' ]' |
|
|
184 |
+ ' };' |
|
|
185 |
+ ' _myPlayer = new IriSP.Metadataplayer(_config);' |
|
|
186 |
+ ' <\/script>' |
|
|
187 |
+ ' </div>' |
|
|
188 |
+ ' </div>' |
|
|
189 |
+ '</div>'; |
|
|
190 |
|
|
|
191 |
|
|
|
192 |
$("#videocontainer").html(s.replace(/__NUM_JSON__/g, n)); |
|
|
193 |
} |
|
|
194 |
cur_vid = n; |
|
|
195 |
} |
|
|
196 |
else{ |
|
|
197 |
fire_hash_changed = true; |
|
|
198 |
} |
|
|
199 |
|
|
|
200 |
} |
|
|
201 |
|
|
|
202 |
//Functions to manage history with parameters |
|
|
203 |
function getURLParameter(name) { |
|
|
204 |
return decodeURI( |
|
|
205 |
(RegExp(name + '=' + '(.+?)(&|$)').exec(location.search)||[,null])[1] |
|
|
206 |
); |
|
|
207 |
} |
|
|
208 |
function update_history(s){ |
|
|
209 |
History.replaceState(null, null, "#" + s); |
|
|
210 |
} |
|
|
211 |
|
|
|
212 |
|
|
|
213 |
// on load |
|
|
214 |
$(function() { |
|
|
215 |
playVideo("full"); |
|
|
216 |
}); |
|
|
217 |
|
|
|
218 |
</script> |
|
|
219 |
<script> |
|
|
220 |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
|
|
221 |
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
|
|
222 |
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a ,m) |
|
|
223 |
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); |
|
|
224 |
ga('create', 'UA-44960237-1', 'digital-studies.org'); |
|
|
225 |
ga('send', 'pageview'); |
|
|
226 |
</script> |
|
|
227 |
</body> |
|
|
228 |
</html> |