61 |
61 |
62 ] |
62 ] |
63 }, |
63 }, |
64 player:{ |
64 player:{ |
65 type:'jwplayer', // player type |
65 type:'jwplayer', // player type |
66 container: 'PopcornContainer', |
|
67 // the rest is player-dependent configuration options. |
|
68 file : "video/franceculture/franceculture_retourdudimanche20100620.flv", |
|
69 streamer: "rtmp://media.iri.centrepompidou.fr/ddc_player/", |
|
70 flashplayer : '../libs/player.swf', |
66 flashplayer : '../libs/player.swf', |
71 live: true, |
67 live: true, |
72 "controlbar.position" : "none", |
68 "controlbar.position" : "none", |
73 height: 300, |
69 height: 1, /* jwplayer doesn't want it to be 0 */ |
74 width: 200, |
70 width: 200, |
75 provider: "rtmp" |
71 provider: "rtmp" |
76 } |
72 } |
77 }; |
73 }; |
78 |
74 |
79 IriSP.loadLibs(IriSP.lib, config.gui.css, |
75 IriSP.loadLibs(IriSP.lib, config.gui.css, "../test.json", |
80 function() { |
76 function() { |
81 var layoutManager = new IriSP.LayoutManager(config.gui.container); |
77 var layoutManager = new IriSP.LayoutManager(config.gui.container); |
82 var pop = IriSP.configurePopcorn(layoutManager, config.player); |
78 var pop = IriSP.configurePopcorn(layoutManager, config.player); |
83 |
79 |
84 var widgets = IriSP.configureWidgets(pop, layoutManager, config.gui); }); |
80 var widgets = IriSP.configureWidgets(pop, layoutManager, config.gui); }); |