src/widgets/Slideshare.js
branchplayers-as-widgets
changeset 957 4da0a5740b6c
parent 921 d4dc652bf050
child 965 eadb7290c325
--- a/src/widgets/Slideshare.js	Fri Sep 14 10:38:04 2012 +0900
+++ b/src/widgets/Slideshare.js	Mon Sep 17 00:17:06 2012 +0900
@@ -42,12 +42,12 @@
     } else {
         this.renderTemplate();
         this.$container = this.$.find(".Ldt-SlideShare-Container");
-        this.bindPopcorn("timeupdate","onTimeupdate");
-        this.onTimeupdate();
+        this.onMediaEvent("timeupdate","onTimeupdate");
+        this.onTimeupdate(0);
     }
 }
 
-IriSP.Widgets.Slideshare.prototype.onTimeupdate = function() {
+IriSP.Widgets.Slideshare.prototype.onTimeupdate = function(_time) {
     var _list = this.getWidgetAnnotationsAtTime();
     if (_list.length) {
         var _description = _list[0].description,