equal
deleted
inserted
replaced
120 IriSP.SegmentsWidget.prototype.clear = function() { |
120 IriSP.SegmentsWidget.prototype.clear = function() { |
121 this.selector.children(".Ldt-iri-chapter").css('border','none').animate({opacity:0.3}, 100); |
121 this.selector.children(".Ldt-iri-chapter").css('border','none').animate({opacity:0.3}, 100); |
122 }; |
122 }; |
123 |
123 |
124 IriSP.SegmentsWidget.prototype.clickHandler = function(annotation) { |
124 IriSP.SegmentsWidget.prototype.clickHandler = function(annotation) { |
|
125 this._Popcorn.trigger("IriSP.SegmentsWidget.click", annotation.id); |
125 var begin = (+ annotation.begin) / 1000; |
126 var begin = (+ annotation.begin) / 1000; |
126 this._Popcorn.currentTime(Math.round(begin)); |
127 this._Popcorn.currentTime(Math.round(begin)); |
127 }; |
128 }; |
128 |
129 |
129 IriSP.SegmentsWidget.prototype.searchHandler = function(searchString) { |
130 IriSP.SegmentsWidget.prototype.searchHandler = function(searchString) { |