equal
deleted
inserted
replaced
45 metadata:{ |
45 metadata:{ |
46 format:'cinelab', |
46 format:'cinelab', |
47 src:'../test.json', |
47 src:'../test.json', |
48 type:'json'} |
48 type:'json'} |
49 } |
49 } |
50 ], |
50 ]}, |
51 player:{ |
51 player:{ |
52 type:'jwplayer', |
52 type:'jwplayer', |
53 flashplayer:'../../res/swf/player.swf', |
53 flashplayer:'../../res/swf/player.swf', |
54 file:'http://127.0.0.1/mdp/test/trailer.mp4', |
54 file:'../trailer.mp4', |
55 provider:'video', |
55 provider:'video', |
56 duration: 50} |
56 duration: 50} |
57 }; |
57 }; |
58 |
58 |
59 IriSP.loadLibs(IriSP.lib, config.gui.css, function() { |
59 IriSP.loadLibs(IriSP.lib, config.gui.css, "../test.json", function() { |
60 var layoutManager = new IriSP.LayoutManager(config.gui.container); |
60 var layoutManager = new IriSP.LayoutManager(config.gui.container); |
61 var pop = IriSP.configurePopcorn(layoutManager, config.player); |
61 var pop = IriSP.configurePopcorn(layoutManager, config.player); |
62 |
62 |
63 var widgets = IriSP.configureWidgets(pop, layoutManager, config.gui); }); |
63 var widgets = IriSP.configureWidgets(pop, layoutManager, config.gui); }); |
64 |
64 |