test/integration/polemic-youtube.htm
branchpopcorn-port
changeset 279 2c65775623cb
parent 266 1c83c4bba0ce
child 280 3da58bd31096
equal deleted inserted replaced
272:5284f337bd53 279:2c65775623cb
    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',
    63             {type: "AnnotationsWidget",
    69             {type: "AnnotationsWidget",
    64 						 metadata:{
    70 						 metadata:{
    65 						  format:'cinelab',
    71 						  format:'cinelab',
    66 						  src:'polemic_fr.json',
    72 						  src:'polemic_fr.json',
    67 						  type:'json'}
    73 						  type:'json'}
    68 						},
    74 						},					  	
    69             {type: "SliderWidget",
       
    70 						 metadata:{
       
    71 						  format:'cinelab',
       
    72 						  src:'polemic_fr.json',
       
    73 						  type:'json'}
       
    74 						}
       
    75 					  	
       
    76 					  ]
    75 					  ]
    77 			  },
    76 			  },
    78 			player:{
    77 			player:{
    79 			type:'youtube', // player type
    78 			type:'youtube', // player type
    80 			  // the rest is player-dependent configuration options.
    79 			  // the rest is player-dependent configuration options.