test/integration/polemic-youtube.htm
branchtweet-widget
changeset 280 3da58bd31096
parent 267 f84013fb19dc
parent 279 2c65775623cb
child 281 7edd686a2b2a
equal deleted inserted replaced
278:ff20c80c6845 280:3da58bd31096
    51 								src:'polemic_fr.json',
    51 								src:'polemic_fr.json',
    52 								type:'empty'
    52 								type:'empty'
    53 							}
    53 							}
    54 						 }],
    54 						 }],
    55 						},
    55 						},
       
    56             {type: "SliderWidget",
       
    57 						 metadata:{
       
    58 						  format:'cinelab',
       
    59 						  src:'polemic_fr.json',
       
    60 						  type:'json'}
       
    61 						}
    56 						{type: "PlayerWidget", // please note that type refers directly to the constructor of the widget.
    62 						{type: "PlayerWidget", // please note that type refers directly to the constructor of the widget.
    57 						 mode: "radio",
    63 						 mode: "radio",
    58 						 metadata:{
    64 						 metadata:{
    59 						  format:'cinelab',
    65 						  format:'cinelab',
    60 						  src:'polemic_fr.json',
    66 						  src:'polemic_fr.json',
    69             {type: "TweetsWidget",
    75             {type: "TweetsWidget",
    70 						 metadata:{
    76 						 metadata:{
    71 						  format:'cinelab',
    77 						  format:'cinelab',
    72 						  src:'polemic_fr.json',
    78 						  src:'polemic_fr.json',
    73 						  type:'json'}
    79 						  type:'json'}
    74 						},
       
    75             {type: "SliderWidget",
       
    76 						 metadata:{
       
    77 						  format:'cinelab',
       
    78 						  src:'polemic_fr.json',
       
    79 						  type:'json'}
       
    80 						}
    80 						}
    81 					  	
       
    82 					  ]
    81 					  ]
    83 			  },
    82 			  },
    84 			player:{
    83 			player:{
    85 			type:'youtube', // player type
    84 			type:'youtube', // player type
    86 			  // the rest is player-dependent configuration options.
    85 			  // the rest is player-dependent configuration options.