one more playbackRate

This commit is contained in:
j 2020-04-29 14:18:18 +02:00
parent ae12acda2a
commit 9c9d3a8e2f

View file

@ -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();