test/integration/polemic.htm
branchpopcorn-port
changeset 465 daa60afb3a50
parent 453 8568e47379a2
child 504 02daece5dfda
equal deleted inserted replaced
464:dd543fb9d38a 465:daa60afb3a50
   107               live: true, 
   107               live: true, 
   108               "controlbar.position" : "none", 
   108               "controlbar.position" : "none", 
   109               height: 300, 
   109               height: 300, 
   110               width: 640, 
   110               width: 640, 
   111               provider: "rtmp" 
   111               provider: "rtmp" 
   112             }
   112       },
       
   113       modules: [
       
   114                { type: "MediaFragment",
       
   115   			     		 metadata:{
       
   116 	  	  			   format:'cinelab',
       
   117 		  				   src:'polemic_fr.json',
       
   118 						     type:'json'}
       
   119 						}]
       
   120 
   113     };
   121     };
   114     
   122     
   115     IriSP.loadLibs(IriSP.lib, config.gui.css, "polemic_fr.json",
   123     IriSP.loadLibs(IriSP.lib, config.gui.css, "polemic_fr.json",
   116       function() {   
   124       function() {   
   117               var layoutManager = new IriSP.LayoutManager(config.gui.container);
   125               var layoutManager = new IriSP.LayoutManager(config.gui.container);
   118               var pop = IriSP.configurePopcorn(layoutManager, config.player);
   126               var pop = IriSP.configurePopcorn(layoutManager, config.player);
   119               
   127               
   120               var widgets = IriSP.configureWidgets(pop, layoutManager, config.gui); });
   128               var widgets = IriSP.configureWidgets(pop, layoutManager, config.gui); 
       
   129               var modules = IriSP.configureModules(pop, config.modules); 
       
   130       });
   121     
   131     
   122     });
   132     });
   123   </script>
   133   </script>
   124   
   134   
   125   
   135