pass playbackRate in Ox.VideoTimelinePlayer
This commit is contained in:
parent
b017ba5ba1
commit
ae12acda2a
1 changed files with 4 additions and 0 deletions
|
@ -34,6 +34,7 @@ Ox.VideoTimelinePlayer = function(options, self) {
|
|||
muted: false,
|
||||
out: 0,
|
||||
paused: false,
|
||||
playbackRate: 1,
|
||||
position: 0,
|
||||
showMilliseconds: false,
|
||||
smallTimelineURL: '',
|
||||
|
@ -52,6 +53,9 @@ Ox.VideoTimelinePlayer = function(options, self) {
|
|||
self.options.paused = !self.options.paused;
|
||||
togglePaused();
|
||||
},
|
||||
playbackRate: function() {
|
||||
self.$video.options({playbackRate: self.options.playbackRate});
|
||||
},
|
||||
position: setPosition,
|
||||
timeline: function() {
|
||||
self.$menuButton.checkItem('timelines_' + self.options.timeline);
|
||||
|
|
Loading…
Reference in a new issue