update audio player
This commit is contained in:
parent
c2c6b8a265
commit
6fd7e99c7a
1 changed files with 7 additions and 0 deletions
|
@ -56,6 +56,13 @@ Ox.AudioPlayer = function(options, self) {
|
|||
.addClass('OxAudioPlayer')
|
||||
.css({width: self.options.width + 'px'})
|
||||
.bindEvent({
|
||||
key_0: toggleMuted,
|
||||
key_equal: function() {
|
||||
setVolume(Ox.min(self.options.volume + 0.1, 1));
|
||||
},
|
||||
key_minus: function() {
|
||||
setVolume(Ox.max(self.options.volume - 0.1, 0));
|
||||
},
|
||||
key_space: togglePaused
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue