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</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</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.json", |
54 var _metadata = { |
58 // url: 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/b2754186-a0c9-11e0-b8bd-00145ea49a02?callback=?', |
55 url: 'bab_files/mashup.json', |
59 format: "ldt", |
56 // url: 'http://ldt.iri.centrepompidou.fr/ldtplatform/ldt/cljson/id/b2754186-a0c9-11e0-b8bd-00145ea49a02?callback=?', |
60 }; |
57 format: 'ldt' |
61 var _config = { |
58 }; |
62 gui: { |
59 var _config = { |
63 width: 630, |
60 gui: { |
64 container: "LdtPlayer", |
61 width : 630, |
65 default_options: { |
62 container : 'LdtPlayer', |
66 metadata: _metadata, |
63 default_options: { |
67 }, |
64 metadata: _metadata |
68 css: "../metadataplayer/LdtPlayer-core.css", |
65 }, |
69 widgets: [ |
66 css : '../metadataplayer/LdtPlayer-core.css', |
|
67 widgets: [ |
|
68 { type: "Slider" }, |
70 { type: "Slider" }, |
69 { type: "Controller" }, |
71 { type: "Controller" }, |
70 { |
72 { |
71 type: "Segments", |
73 type: "Segments", |
72 annotation_type: false |
74 annotation_type: false, |
73 }, |
75 }, |
74 { type: "Arrow" }, |
76 { type: "Arrow" }, |
75 { |
77 { |
76 type: "Annotation", |
78 type: "Annotation", |
77 annotation_type: false |
79 annotation_type: false, |
78 }, |
80 }, |
79 { |
81 { |
80 type: "MediaList", |
82 type: "MediaList", |
81 container: "mediaList" |
83 container: "mediaList", |
82 }, |
84 }, |
83 { |
85 { |
84 type: "AnnotationsList", |
86 type: "AnnotationsList", |
85 container: "annotationList", |
87 container: "annotationList", |
86 ajax_url: "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?", |
88 ajax_url: |
87 ajax_granularity: 30000, |
89 "http://ldt.iri.centrepompidou.fr/ldtplatform/api/ldt/segments/{{media}}/{{begin}}/{{end}}?callback=?", |
88 limit_count: 3 |
90 ajax_granularity: 30000, |
|
91 limit_count: 3, |
89 }, |
92 }, |
90 { type: "Mediafragment" } |
93 { type: "Mediafragment" }, |
91 ] |
94 ], |
92 }, |
95 }, |
93 player:{ |
96 player: { |
94 type:'mashup', |
97 type: "mashup", |
95 live: true, |
98 live: true, |
96 height: 350, |
99 height: 350, |
97 width: 630, |
100 width: 630, |
98 provider: "rtmp", |
101 provider: "rtmp", |
99 mashup_swf : "bab_files/player_bab_ldt.swf", |
102 mashup_swf: "bab_files/player_bab_ldt.swf", |
100 mashup_xml : "bab_files/mashup.xml", |
103 mashup_xml: "bab_files/mashup.xml", |
101 autostart: true, |
104 autostart: true, |
102 metadata: _metadata |
105 metadata: _metadata, |
103 } |
106 }, |
104 }; |
107 }; |
105 |
108 |
106 _myPlayer = new IriSP.Metadataplayer(_config); |
109 _myPlayer = new IriSP.Metadataplayer(_config); |
107 |
|
108 </script> |
110 </script> |
109 </body> |
111 </body> |
110 </html> |
112 </html> |