events are lower case

This commit is contained in:
j 2012-02-03 14:43:20 +00:00
parent 151c701934
commit ae82696600

View file

@ -420,7 +420,7 @@ Ox.VideoEditor = function(options, self) {
],
self.options.posterFrameControls ? [
{},
{id: 'gotoPosterFrame', title: 'Goto Poster Frame'},
{id: 'gotoPosterFrame', title: 'Go to Poster Frame'},
{id: 'setPosterFrame', title: 'Set Poster Frame'},
] : [],
[
@ -449,14 +449,14 @@ Ox.VideoEditor = function(options, self) {
width: 256
}).open();
} else if (id == 'downloadVideo') {
that.triggerEvent('downloadVideo');
that.triggerEvent('downloadvideo');
} else if (id == 'downloadSelection') {
that.triggerEvent('downloadSelection', {
that.triggerEvent('downloadselection', {
'in': self.options['in'],
out: self.options.out,
});
} else if (id == 'embedSelection') {
that.triggerEvent('embedSelection', {
that.triggerEvent('embedselection', {
'in': self.options['in'],
out: self.options.out,
});