web/rsln-opendata/polemicaltimeline.php
changeset 84 b1029aa40ec3
parent 66 8a382087127f
child 86 8281437aff1f
equal deleted inserted replaced
83:4a759c70e40f 84:b1029aa40ec3
   177 		
   177 		
   178 		// Refactoring (parametere) ************************************************************
   178 		// Refactoring (parametere) ************************************************************
   179 		// load tweets send in parameters 
   179 		// load tweets send in parameters 
   180 		__IriSP.jQuery.ajax({
   180 		__IriSP.jQuery.ajax({
   181 		  dataType: "jsonp",
   181 		  dataType: "jsonp",
   182 		  url:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/13b0aa52-336b-11e0-b233-00145ea49a02",
   182 		  url:"http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/f410655c-5a4d-11e0-a392-00145ea49a02",
   183 		  success : function(json){
   183 		  success : function(json){
   184 			trace("load","");
   184 			trace("load","");
   185 				__IriSP.jQuery.each(json.annotations, function(i,item) {
   185 				__IriSP.jQuery.each(json.annotations, function(i,item) {
   186 					
   186 					
   187 					var MyTime  = Math.floor(item.begin/duration*lineSize);
   187 					var MyTime  = Math.floor(item.begin/duration*lineSize);
   481 							format:'cinelab',
   481 							format:'cinelab',
   482 							src:'metadata.json',
   482 							src:'metadata.json',
   483 							load:'json'},*/
   483 							load:'json'},*/
   484 						metadata:{
   484 						metadata:{
   485 							format:'cinelab',
   485 							format:'cinelab',
   486 							src:'http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/13b0aa52-336b-11e0-b233-00145ea49a02',
   486 							src:'http://www.iri.centrepompidou.fr/dev/ldt/ldtplatform/ldt/cljson/id/f410655c-5a4d-11e0-a392-00145ea49a02',
   487 							load:'jsonp'},
   487 							load:'jsonp'},
   488 						gui:{
   488 						gui:{
   489 							width:650,
   489 							width:650,
   490 							height:480,
   490 							height:480,
   491 							mode:'video',
   491 							mode:'video',