--- a/src/js/widgets/annotationsListWidget.js Thu Jan 26 17:21:04 2012 +0100
+++ b/src/js/widgets/annotationsListWidget.js Fri Jan 27 11:29:03 2012 +0100
@@ -179,7 +179,9 @@
this._Popcorn.listen("IriSP.createAnnotationWidget.addedAnnotation", IriSP.wrap(this, function() { this.drawList(true); }));
this._Popcorn.listen("timeupdate", IriSP.wrap(this, this.redraw));
} else {
+ /* update the widget when the video has finished loading and when it's seeked and paused */
this._Popcorn.listen("seeked", IriSP.wrap(this, this.ajaxRedraw));
+ this._Popcorn.listen("loadedmetadata", IriSP.wrap(this, this.ajaxRedraw));
this._Popcorn.listen("paused", IriSP.wrap(this, this.ajaxRedraw));
}