one more playbackRate
This commit is contained in:
parent
ae12acda2a
commit
9c9d3a8e2f
1 changed files with 5 additions and 0 deletions
|
@ -199,6 +199,11 @@ Ox.VideoTimelinePlayer = function(options, self) {
|
|||
key_enter: function() {
|
||||
scrollToPosition();
|
||||
},
|
||||
key_k: function togglePlaybackRate() {
|
||||
that.options({
|
||||
playbackRate: self.options.playbackRate == 1 ? 2 : self.options.playbackRate == 2 ? 0.5 : 1
|
||||
});
|
||||
},
|
||||
key_left: function() {
|
||||
self.options.position -= self.videoWidth / self.fps;
|
||||
setPosition();
|
||||
|
|
Loading…
Reference in a new issue