From 59f4c0d3edbde5442b30735bb8c0a7f1039d8ca1 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 8 Jul 2013 12:10:44 +0000 Subject: [PATCH] trigger playing instead of position event while playing --- source/Ox.UI/js/Video/VideoEditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Video/VideoEditor.js b/source/Ox.UI/js/Video/VideoEditor.js index 629165c6..6caee7d0 100644 --- a/source/Ox.UI/js/Video/VideoEditor.js +++ b/source/Ox.UI/js/Video/VideoEditor.js @@ -1233,7 +1233,7 @@ Ox.VideoEditor = function(options, self) { position: self.options.position }); if (!playing || minute != previousMinute) { - that.triggerEvent('position', { + that.triggerEvent(playing ? 'playing' : 'position', { position: !playing ? self.options.position : minute * 60 }); }