trigger playing instead of position event while playing
This commit is contained in:
parent
cc1cede9bc
commit
59f4c0d3ed
1 changed files with 1 additions and 1 deletions
|
@ -1233,7 +1233,7 @@ Ox.VideoEditor = function(options, self) {
|
||||||
position: self.options.position
|
position: self.options.position
|
||||||
});
|
});
|
||||||
if (!playing || minute != previousMinute) {
|
if (!playing || minute != previousMinute) {
|
||||||
that.triggerEvent('position', {
|
that.triggerEvent(playing ? 'playing' : 'position', {
|
||||||
position: !playing ? self.options.position : minute * 60
|
position: !playing ? self.options.position : minute * 60
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue