1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
2 <html dir="ltr" xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml" lang="fr"> |
2 <html dir="ltr" xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml" lang="fr"> |
3 |
3 |
4 <head> |
4 <head> |
5 <title>Test d'intégration de l'initialisation</title> |
5 <title>Test d'intégration du widget Polemic Tweet</title> |
6 </head> |
6 </head> |
7 |
7 |
8 <body> |
8 <body> |
9 |
9 |
10 <div style="width:650px;font-family: 'Trebuchet MS', 'Helvetica', 'Arial', 'Verdana', 'sans-serif';"> |
10 <div style="width:650px;font-family: 'Trebuchet MS', 'Helvetica', 'Arial', 'Verdana', 'sans-serif';"> |
31 width:650, |
31 width:650, |
32 height:2100, |
32 height:2100, |
33 container:'LdtPlayer', |
33 container:'LdtPlayer', |
34 css:'../../src/css/LdtPlayer.css', |
34 css:'../../src/css/LdtPlayer.css', |
35 widgets: [ |
35 widgets: [ |
|
36 {type: "PolemicWidget", |
|
37 width: 640, /* required for this widget */ |
|
38 height: 50, |
|
39 heightmax: 50, |
|
40 metadata:{ |
|
41 format:'cinelab', |
|
42 src:'polemic_fr.json', |
|
43 type:'json'}, |
|
44 |
|
45 requires: [{ |
|
46 type: "TooltipWidget", |
|
47 width: 180, |
|
48 heigh: 160, |
|
49 metadata : { |
|
50 format:'cinelab', |
|
51 src:'polemic.json', |
|
52 type:'empty' |
|
53 } |
|
54 }], |
|
55 }, |
36 {type: "PlayerWidget", // please note that type refers directly to the constructor of the widget. |
56 {type: "PlayerWidget", // please note that type refers directly to the constructor of the widget. |
37 mode: "radio", |
57 mode: "radio", |
38 metadata:{ |
58 metadata:{ |
39 format:'cinelab', |
59 format:'cinelab', |
40 src:'../test.json', |
60 src:'../test.json', |
41 type:'json'} |
61 type:'json'} |
42 }, |
62 } |
43 {type: "PolemicWidget", |
63 |
44 metadata:{ |
|
45 format:'cinelab', |
|
46 src:'polemic.json', |
|
47 type:'json'} |
|
48 }, |
|
49 {type: "SegmentsWidget", |
|
50 metadata:{ |
|
51 format:'cinelab', |
|
52 src:'../test.json', |
|
53 type:'json'} |
|
54 }, |
|
55 |
|
56 ] |
64 ] |
57 }, |
65 }, |
58 player:{ |
66 player:{ |
59 type:'jwplayer', // player type |
67 type:'jwplayer', // player type |
60 container: 'PopcornContainer', |
68 container: 'PopcornContainer', |
61 // the rest is player-dependent configuration options. |
69 // the rest is player-dependent configuration options. |
62 file : "video/franceculture/franceculture_retourdudimanche20100620.flv", |
70 file : "video/ldtplatform/museologie_inaugurale_20111018_flat.f4v", |
63 streamer: "rtmp://media.iri.centrepompidou.fr/ddc_player/", |
71 streamer: "rtmp://media.iri.centrepompidou.fr/ddc_player/", |
64 flashplayer : '../libs/player.swf', |
72 flashplayer : '../libs/player.swf', |
65 live: true, |
73 live: true, |
66 "controlbar.position" : "none", |
74 "controlbar.position" : "none", |
67 height: 300, |
75 height: 300, |
68 width: 200, |
76 width: 640, |
69 provider: "rtmp" |
77 provider: "rtmp" |
70 } |
78 } |
71 }; |
79 }; |
72 |
80 |
73 IriSP.loadLibs(IriSP.lib, config.gui.css, |
81 IriSP.loadLibs(IriSP.lib, config.gui.css, |