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,
|
muted: false,
|
||||||
out: 0,
|
out: 0,
|
||||||
paused: false,
|
paused: false,
|
||||||
|
playbackRate: 1,
|
||||||
position: 0,
|
position: 0,
|
||||||
showMilliseconds: false,
|
showMilliseconds: false,
|
||||||
smallTimelineURL: '',
|
smallTimelineURL: '',
|
||||||
|
@ -52,6 +53,9 @@ Ox.VideoTimelinePlayer = function(options, self) {
|
||||||
self.options.paused = !self.options.paused;
|
self.options.paused = !self.options.paused;
|
||||||
togglePaused();
|
togglePaused();
|
||||||
},
|
},
|
||||||
|
playbackRate: function() {
|
||||||
|
self.$video.options({playbackRate: self.options.playbackRate});
|
||||||
|
},
|
||||||
position: setPosition,
|
position: setPosition,
|
||||||
timeline: function() {
|
timeline: function() {
|
||||||
self.$menuButton.checkItem('timelines_' + self.options.timeline);
|
self.$menuButton.checkItem('timelines_' + self.options.timeline);
|
||||||
|
|
Loading…
Add table
Reference in a new issue