fixing another stupid bug. V00.02
authorhamidouk
Mon, 19 Dec 2011 17:26:45 +0100
changeset 29 5d56138abe95
parent 28 79c66920a1fb
child 30 de2d85dbe708
fixing another stupid bug.
web/LdtPlayer-release.js
--- a/web/LdtPlayer-release.js	Mon Dec 19 16:59:49 2011 +0100
+++ b/web/LdtPlayer-release.js	Mon Dec 19 17:26:45 2011 +0100
@@ -8664,7 +8664,8 @@
                  configure the video
               */
               IriSP.__jsonMetadata = data;
-              callback.call(window) });
+              callback.call(window);             
+              });
       });
     }
 };
@@ -9157,7 +9158,11 @@
   },
   "SliderWidget" : {
       minimize_period: 850 // how long does the slider stays maximized after the user leaves the zone ?
+  },
+  "Main" : {
+      autoplay: true
   }
+  
 };
 
 IriSP.paths = {
@@ -10327,10 +10332,11 @@
                         // event.clientX and event.clientY are to raphael what event.pageX and pageY are to jquery.                        
                         self.TooltipWidget.show.call(self.TooltipWidget, element.title, element.attr("fill"), event.pageX - 106, event.pageY - 160);
                         element.displayed = true;
-                  }}(e)).mousedown(function () {
-                    self._Popcorn.currentTime(this.time/1000);
-                    self._Popcorn.trigger("IriSP.PolemicTweet.click", this.id); 
-                  });                  
+                  }}(e)).mousedown(function(element) { return function () {                    
+                    self._Popcorn.currentTime(element.time/1000);
+                    self._Popcorn.trigger("IriSP.PolemicTweet.click", element.id); 
+                    }
+                  }(e));                  
                   
                   IriSP.jQuery(e.node).attr('id', 't' + k + '');
                   IriSP.jQuery(e.node).attr('title', frames[i].mytweetsID[k].title);