diff -r 12a72b00f4ab -r 6498b89eabcd src/js/widgets/segmentsWidget.js --- a/src/js/widgets/segmentsWidget.js Wed Nov 09 17:25:23 2011 +0100 +++ b/src/js/widgets/segmentsWidget.js Thu Nov 10 11:00:28 2011 +0100 @@ -18,7 +18,8 @@ var annotations = this._serializer._data.annotations; this.selector.css("overflow", "auto"); // clear the floats - FIXME : to refactor ? - this.selector.append("
"); + this.selector.append(Mustache.to_html(IriSP.segment_marker_template)); + this.positionMarker = this.selector.children(":first"); this._Popcorn.listen("timeupdate", IriSP.wrap(this, this.positionUpdater));