|
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 }; |
|
58 var _config = { |
|
59 gui: { |
|
60 width : 630, |
|
61 container : 'LdtPlayer', |
|
62 default_options: { |
|
63 metadata: _metadata |
|
64 }, |
|
65 css : '../metadataplayer/LdtPlayer-core.css', |
|
66 widgets: [ |
|
67 { type: "Slider" }, |
|
68 { type: "Controller" }, |
|
69 { |
|
70 type: "Segments", |
|
71 annotation_type: false |
|
72 }, |
|
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 ] |
|
91 }, |
|
92 player:{ |
|
93 type:'mashup-html', |
|
94 height: 350, |
|
95 width: 630, |
|
96 metadata: _metadata |
|
97 } |
|
98 }; |
|
99 |
|
100 _myPlayer = new IriSP.Metadataplayer(_config); |
|
101 |
|
102 </script> |
|
103 </body> |
|
104 </html> |