101 } |
101 } |
102 ] |
102 ] |
103 }, |
103 }, |
104 player:{ |
104 player:{ |
105 type:'jwplayer', // player type |
105 type:'jwplayer', // player type |
106 container: 'PopcornContainer', |
|
107 // the rest is player-dependent configuration options. |
|
108 file : "video/ldtplatform/museologie_inaugurale_20111018_flat.f4v", |
|
109 streamer: "rtmp://media.iri.centrepompidou.fr/ddc_player/", |
|
110 flashplayer : '../libs/player.swf', |
106 flashplayer : '../libs/player.swf', |
111 live: true, |
107 live: true, |
112 "controlbar.position" : "none", |
108 "controlbar.position" : "none", |
113 height: 300, |
109 height: 300, |
114 width: 640, |
110 width: 640, |
115 provider: "rtmp" |
111 provider: "rtmp" |
116 } |
112 } |
117 }; |
113 }; |
118 |
114 |
119 IriSP.loadLibs(IriSP.lib, config.gui.css, |
115 IriSP.loadLibs(IriSP.lib, config.gui.css, "polemic_fr.json", |
120 function() { |
116 function() { |
121 var layoutManager = new IriSP.LayoutManager(config.gui.container); |
117 var layoutManager = new IriSP.LayoutManager(config.gui.container); |
122 var pop = IriSP.configurePopcorn(layoutManager, config.player); |
118 var pop = IriSP.configurePopcorn(layoutManager, config.player); |
123 |
119 |
124 var widgets = IriSP.configureWidgets(pop, layoutManager, config.gui); }); |
120 var widgets = IriSP.configureWidgets(pop, layoutManager, config.gui); }); |