equal
deleted
inserted
replaced
9 |
9 |
10 IriSP.Widgets.Controller.prototype.defaults = { |
10 IriSP.Widgets.Controller.prototype.defaults = { |
11 disable_annotate_btn: false, |
11 disable_annotate_btn: false, |
12 disable_search_btn: false, |
12 disable_search_btn: false, |
13 disable_ctrl_f: false |
13 disable_ctrl_f: false |
14 } |
14 }; |
15 |
15 |
16 IriSP.Widgets.Controller.prototype.template = |
16 IriSP.Widgets.Controller.prototype.template = |
17 '<div class="Ldt-Ctrl">' |
17 '<div class="Ldt-Ctrl">' |
18 + '<div class="Ldt-Ctrl-Left">' |
18 + '<div class="Ldt-Ctrl-Left">' |
19 + '<div class="Ldt-Ctrl-button Ldt-Ctrl-Play Ldt-Ctrl-Play-PlayState Ldt-TraceMe" title="{{l10n.play_pause}}"></div>' |
19 + '<div class="Ldt-Ctrl-button Ldt-Ctrl-Play Ldt-Ctrl-Play-PlayState Ldt-TraceMe" title="{{l10n.play_pause}}"></div>' |
223 if (_muted) { |
223 if (_muted) { |
224 _soundCtl.attr("title", this.l10n.unmute) |
224 _soundCtl.attr("title", this.l10n.unmute) |
225 .addClass("Ldt-Ctrl-Sound-Mute"); |
225 .addClass("Ldt-Ctrl-Sound-Mute"); |
226 } else { |
226 } else { |
227 _soundCtl.attr("title", this.l10n.mute) |
227 _soundCtl.attr("title", this.l10n.mute) |
228 .addClass(_vol < .5 ? "Ldt-Ctrl-Sound-Half" : "Ldt-Ctrl-Sound-Full" ) |
228 .addClass(_vol < .5 ? "Ldt-Ctrl-Sound-Half" : "Ldt-Ctrl-Sound-Full" ); |
229 } |
229 } |
230 this.$volumeBar.slider("value", _muted ? 0 : 100 * _vol); |
230 this.$volumeBar.slider("value", _muted ? 0 : 100 * _vol); |
231 }; |
231 }; |
232 |
232 |
233 IriSP.Widgets.Controller.prototype.showSearchBlock = function() { |
233 IriSP.Widgets.Controller.prototype.showSearchBlock = function() { |