equal
deleted
inserted
replaced
306 _this.media.setCurrentTime(_this.media.duration * _x / _this.width); |
306 _this.media.setCurrentTime(_this.media.duration * _x / _this.width); |
307 }); |
307 }); |
308 |
308 |
309 this.$.append('<div class="Ldt-Polemic-Tooltip"></div>'); |
309 this.$.append('<div class="Ldt-Polemic-Tooltip"></div>'); |
310 |
310 |
311 this.insertSubwidget(this.$.find(".Ldt-Polemic-Tooltip"), "tooltip", { type: "Tooltip" }); |
311 this.insertSubwidget(this.$.find(".Ldt-Polemic-Tooltip"), { type: "Tooltip" }, "tooltip"); |
312 } |
312 } |
313 |
313 |
314 IriSP.Widgets.Polemic.prototype.onTimeupdate = function(_time) { |
314 IriSP.Widgets.Polemic.prototype.onTimeupdate = function(_time) { |
315 var _x = Math.floor( this.width * _time / this.media.duration); |
315 var _x = Math.floor( this.width * _time / this.media.duration); |
316 this.$elapsed.css({ |
316 this.$elapsed.css({ |