web/LdtPlayer-release.js
changeset 29 5d56138abe95
parent 28 79c66920a1fb
equal deleted inserted replaced
28:79c66920a1fb 29:5d56138abe95
  8662             function(data) {
  8662             function(data) {
  8663               /* save the data so that we could re-use it to
  8663               /* save the data so that we could re-use it to
  8664                  configure the video
  8664                  configure the video
  8665               */
  8665               */
  8666               IriSP.__jsonMetadata = data;
  8666               IriSP.__jsonMetadata = data;
  8667               callback.call(window) });
  8667               callback.call(window);             
       
  8668               });
  8668       });
  8669       });
  8669     }
  8670     }
  8670 };
  8671 };
  8671 
  8672 
  8672 
  8673 
  9155       default_profile_picture : "https://si0.twimg.com/sticky/default_profile_images/default_profile_1_normal.png",
  9156       default_profile_picture : "https://si0.twimg.com/sticky/default_profile_images/default_profile_1_normal.png",
  9156       tweet_display_period: 10000 // how long do we show a tweet ?
  9157       tweet_display_period: 10000 // how long do we show a tweet ?
  9157   },
  9158   },
  9158   "SliderWidget" : {
  9159   "SliderWidget" : {
  9159       minimize_period: 850 // how long does the slider stays maximized after the user leaves the zone ?
  9160       minimize_period: 850 // how long does the slider stays maximized after the user leaves the zone ?
       
  9161   },
       
  9162   "Main" : {
       
  9163       autoplay: true
  9160   }
  9164   }
       
  9165   
  9161 };
  9166 };
  9162 
  9167 
  9163 IriSP.paths = {
  9168 IriSP.paths = {
  9164 //  "imgs": "/tweetlive/res/metadataplayer/src/css/imgs"
  9169 //  "imgs": "/tweetlive/res/metadataplayer/src/css/imgs"
  9165   "imgs": "imgs"
  9170   "imgs": "imgs"
 10325                   
 10330                   
 10326                   IriSP.jQuery(e.node).mouseenter(function(element) { return function (event) {                        
 10331                   IriSP.jQuery(e.node).mouseenter(function(element) { return function (event) {                        
 10327                         // event.clientX and event.clientY are to raphael what event.pageX and pageY are to jquery.                        
 10332                         // event.clientX and event.clientY are to raphael what event.pageX and pageY are to jquery.                        
 10328                         self.TooltipWidget.show.call(self.TooltipWidget, element.title, element.attr("fill"), event.pageX - 106, event.pageY - 160);
 10333                         self.TooltipWidget.show.call(self.TooltipWidget, element.title, element.attr("fill"), event.pageX - 106, event.pageY - 160);
 10329                         element.displayed = true;
 10334                         element.displayed = true;
 10330                   }}(e)).mousedown(function () {
 10335                   }}(e)).mousedown(function(element) { return function () {                    
 10331                     self._Popcorn.currentTime(this.time/1000);
 10336                     self._Popcorn.currentTime(element.time/1000);
 10332                     self._Popcorn.trigger("IriSP.PolemicTweet.click", this.id); 
 10337                     self._Popcorn.trigger("IriSP.PolemicTweet.click", element.id); 
 10333                   });                  
 10338                     }
       
 10339                   }(e));                  
 10334                   
 10340                   
 10335                   IriSP.jQuery(e.node).attr('id', 't' + k + '');
 10341                   IriSP.jQuery(e.node).attr('id', 't' + k + '');
 10336                   IriSP.jQuery(e.node).attr('title', frames[i].mytweetsID[k].title);
 10342                   IriSP.jQuery(e.node).attr('title', frames[i].mytweetsID[k].title);
 10337                   IriSP.jQuery(e.node).attr('begin',  frames[i].mytweetsID[k].timeframe);                  
 10343                   IriSP.jQuery(e.node).attr('begin',  frames[i].mytweetsID[k].timeframe);                  
 10338                 }
 10344                 }