video player: add go to poster frame keyboard shortcut
This commit is contained in:
parent
20ac4c7ff4
commit
074ee0410e
1 changed files with 2 additions and 2 deletions
|
@ -254,7 +254,7 @@ Ox.VideoEditor = function(options, self) {
|
|||
goToPoint('out');
|
||||
},
|
||||
key_shift_p: function() {
|
||||
// go to poster frame
|
||||
setPosition(self.options.posterFrame);
|
||||
},
|
||||
key_shift_right: function() {
|
||||
movePositionBy(1);
|
||||
|
@ -565,7 +565,7 @@ Ox.VideoEditor = function(options, self) {
|
|||
] : [],
|
||||
[
|
||||
{},
|
||||
{id: 'gotoPosterFrame', title: Ox._('Go to Poster Frame')},
|
||||
{id: 'gotoPosterFrame', title: Ox._('Go to Poster Frame'), keyboard: 'shift p'},
|
||||
{id: 'setPosterFrame', title: Ox._('Set Poster Frame'), disabled: !self.options.enableSetPosterFrame},
|
||||
{},
|
||||
{id: 'keyboard', title: Ox._('Keyboard Shortcuts...'), keyboard: 'h'}
|
||||
|
|
Loading…
Reference in a new issue