make 'add to clipboard' work in player and editor
This commit is contained in:
parent
410e157cac
commit
cd0e9c8151
2 changed files with 14 additions and 7 deletions
|
@ -158,6 +158,13 @@ Ox.VideoEditor = function(options, self) {
|
||||||
out: self.options.out
|
out: self.options.out
|
||||||
}]);
|
}]);
|
||||||
},
|
},
|
||||||
|
key_control_shift_c: function() {
|
||||||
|
that.triggerEvent('copyadd', [{
|
||||||
|
annotation: self.options.selected,
|
||||||
|
'in': self.options['in'],
|
||||||
|
out: self.options.out
|
||||||
|
}]);
|
||||||
|
},
|
||||||
key_delete: function() {
|
key_delete: function() {
|
||||||
self.$annotationPanel.removeItem(true);
|
self.$annotationPanel.removeItem(true);
|
||||||
},
|
},
|
||||||
|
@ -223,13 +230,6 @@ Ox.VideoEditor = function(options, self) {
|
||||||
key_shift_0: function() {
|
key_shift_0: function() {
|
||||||
movePositionBy(-self.options.position);
|
movePositionBy(-self.options.position);
|
||||||
},
|
},
|
||||||
key_shift_control_c: function() {
|
|
||||||
that.triggerEvent('copyadd', [{
|
|
||||||
annotation: self.options.selected,
|
|
||||||
'in': self.options['in'],
|
|
||||||
out: self.options.out
|
|
||||||
}]);
|
|
||||||
},
|
|
||||||
key_shift_down: function() {
|
key_shift_down: function() {
|
||||||
movePositionBy(self.options.duration);
|
movePositionBy(self.options.duration);
|
||||||
},
|
},
|
||||||
|
|
|
@ -133,6 +133,13 @@ Ox.VideoPanel = function(options, self) {
|
||||||
out: self.options.out
|
out: self.options.out
|
||||||
}]);
|
}]);
|
||||||
},
|
},
|
||||||
|
key_control_shift_c: function() {
|
||||||
|
that.triggerEvent('copyadd', [{
|
||||||
|
annotation: self.options.selected,
|
||||||
|
'in': self.options['in'],
|
||||||
|
out: self.options.out
|
||||||
|
}]);
|
||||||
|
},
|
||||||
key_equal: function() {
|
key_equal: function() {
|
||||||
self.$video.changeVolume(0.1);
|
self.$video.changeVolume(0.1);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue