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