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