|
919
|
1 |
<!doctype html> |
|
|
2 |
<html> |
|
|
3 |
<head> |
|
|
4 |
<title>Preuve de concept Mashup</title> |
|
|
5 |
<link rel="stylesheet" type="text/css" href="style.css" /> |
|
|
6 |
<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> |
|
|
7 |
<script type="text/javascript" src="../metadataplayer/LdtPlayer-core.js" type="text/javascript"></script> |
|
|
8 |
</head> |
|
|
9 |
<body> |
|
|
10 |
<div class="main-container"> |
|
|
11 |
<div class="header"> |
|
|
12 |
<h1>Hash Cut #</h1> |
|
|
13 |
</div> |
|
|
14 |
<div class="steps"> |
|
|
15 |
<h2>Créer un Hash-cut en 3 étapes :</h2> |
|
|
16 |
<div class="steps-frame"> |
|
|
17 |
<div class="step"> |
|
|
18 |
<div class="step-icon step-1"></div> |
|
|
19 |
<div class="step-title">S'inscrire et<br />créer un projet</div> |
|
|
20 |
</div> |
|
|
21 |
<div class="step-separator"></div> |
|
|
22 |
<div class="step"> |
|
|
23 |
<div class="step-icon step-2"></div> |
|
|
24 |
<div class="step-title">Découper et<br />Assembler</div> |
|
|
25 |
</div> |
|
|
26 |
<div class="step-separator"></div> |
|
|
27 |
<div class="step active"> |
|
|
28 |
<div class="step-icon step-3"></div> |
|
|
29 |
<div class="step-title">Partager et<br />regarder !</div> |
|
|
30 |
</div> |
|
|
31 |
</div> |
|
|
32 |
</div> |
|
|
33 |
<div class="colgauche"> |
|
|
34 |
<h2>Mon HashCut (ne fonctionne pas avec Firefox)</h2> |
|
|
35 |
<hr /> |
|
|
36 |
<div id="LdtPlayer"></div> |
|
|
37 |
</div> |
|
|
38 |
<div class="coldroite"> |
|
|
39 |
<div id="mediaList"></div> |
|
|
40 |
<h2>Annotations</h2> |
|
|
41 |
<hr /> |
|
|
42 |
<div id="annotationList"></div> |
|
|
43 |
</div> |
|
|
44 |
<div class="footer"> |
|
|
45 |
<hr /> |
|
|
46 |
<p style="text-align: right;">© IRI 2012</p> |
|
|
47 |
</div> |
|
|
48 |
</div> |
|
|
49 |
<script type="text/javascript"> |
|
|
50 |
|
|
|
51 |
IriSP.libFiles.defaultDir = "../libs/"; |
|
|
52 |
IriSP.widgetsDir = "../metadataplayer"; |
|
|
53 |
IriSP.language = 'fr'; |
|
|
54 |
var _metadata = { |
|
|
55 |
url: 'bab_files/mashup-local-html.json', |
|
|
56 |
format: 'ldt' |
|
|
57 |
}; |
|
959
|
58 |
var _config = { |
|
|
59 |
width : 630, |
|
|
60 |
container : 'LdtPlayer', |
|
|
61 |
default_options: { |
|
|
62 |
metadata: _metadata |
|
|
63 |
}, |
|
|
64 |
css : '../metadataplayer/LdtPlayer-core.css', |
|
|
65 |
widgets: [ |
|
|
66 |
{ type: "MashupPlayer" }, |
|
|
67 |
{ type: "Slider" }, |
|
|
68 |
{ type: "Controller" }, |
|
|
69 |
{ |
|
|
70 |
type: "Segments", |
|
|
71 |
annotation_type: false |
|
919
|
72 |
}, |
|
959
|
73 |
{ type: "Arrow" }, |
|
|
74 |
{ |
|
|
75 |
type: "Annotation", |
|
|
76 |
annotation_type: false |
|
|
77 |
}, |
|
|
78 |
{ |
|
|
79 |
type: "MediaList", |
|
|
80 |
container: "mediaList" |
|
|
81 |
}, |
|
|
82 |
{ |
|
|
83 |
type: "AnnotationsList", |
|
|
84 |
container: "annotationList", |
|
|
85 |
ajax_url: "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?", |
|
|
86 |
ajax_granularity: 30000, |
|
|
87 |
limit_count: 3 |
|
|
88 |
}, |
|
|
89 |
{ type: "Mediafragment" } |
|
|
90 |
] |
|
919
|
91 |
}; |
|
|
92 |
|
|
|
93 |
_myPlayer = new IriSP.Metadataplayer(_config); |
|
|
94 |
|
|
|
95 |
</script> |
|
|
96 |
</body> |
|
|
97 |
</html> |