diff --git a/source/Ox.UI/js/Audio/AudioPlayer.js b/source/Ox.UI/js/Audio/AudioPlayer.js index 9466c299..eccc8d03 100644 --- a/source/Ox.UI/js/Audio/AudioPlayer.js +++ b/source/Ox.UI/js/Audio/AudioPlayer.js @@ -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 });