equal
deleted
inserted
replaced
181 } else { |
181 } else { |
182 /* update the widget when the video has finished loading and when it's seeked and paused */ |
182 /* update the widget when the video has finished loading and when it's seeked and paused */ |
183 this._Popcorn.listen("seeked", IriSP.wrap(this, this.ajaxRedraw)); |
183 this._Popcorn.listen("seeked", IriSP.wrap(this, this.ajaxRedraw)); |
184 this._Popcorn.listen("loadedmetadata", IriSP.wrap(this, this.ajaxRedraw)); |
184 this._Popcorn.listen("loadedmetadata", IriSP.wrap(this, this.ajaxRedraw)); |
185 this._Popcorn.listen("paused", IriSP.wrap(this, this.ajaxRedraw)); |
185 this._Popcorn.listen("paused", IriSP.wrap(this, this.ajaxRedraw)); |
|
186 |
|
187 this._Popcorn.listen("IriSP.createAnnotationWidget.addedAnnotation", IriSP.wrap(this, this.ajaxRedraw)); |
186 } |
188 } |
187 |
189 |
188 }; |
190 }; |
189 |
191 |
190 IriSP.AnnotationsListWidget.prototype.redraw = function() { |
192 IriSP.AnnotationsListWidget.prototype.redraw = function() { |