diff --git a/source/Ox.UI/js/Video/Ox.VideoTimelinePlayer.js b/source/Ox.UI/js/Video/Ox.VideoTimelinePlayer.js index e84fcefa..568ed9a9 100644 --- a/source/Ox.UI/js/Video/Ox.VideoTimelinePlayer.js +++ b/source/Ox.UI/js/Video/Ox.VideoTimelinePlayer.js @@ -79,7 +79,9 @@ Ox.VideoTimelinePlayer = function(options, self) { self.options.position += 1 / self.fps; setPosition(); }, - key_space: togglePaused, + key_space: function() { + togglePaused() + }, key_up: function() { self.options.position -= self.contentWidth / self.fps; setPosition(); @@ -97,7 +99,9 @@ Ox.VideoTimelinePlayer = function(options, self) { float: 'left' }) .bindEvent({ - click: togglePaused + click: function() { + togglePaused(); + } }) .appendTo(self.$bottomBar); self.$muteButton = Ox.Button({