forked from 0x2620/oxjs
add playbackRate to video elements
This commit is contained in:
parent
da08120ff4
commit
f2e7c75d2c
5 changed files with 32 additions and 3 deletions
|
|
@ -55,6 +55,7 @@ Ox.VideoTimelinePanel = function(options, self) {
|
|||
muted: false,
|
||||
out: 0,
|
||||
paused: true,
|
||||
playbackRate: 1,
|
||||
position: 0,
|
||||
resolution: 0,
|
||||
selected: '',
|
||||
|
|
@ -79,6 +80,9 @@ Ox.VideoTimelinePanel = function(options, self) {
|
|||
paused: function() {
|
||||
self.$player.options({paused: self.options.paused});
|
||||
},
|
||||
playbackRate: function() {
|
||||
self.$player.options({playbackRate: self.options.playbackRate});
|
||||
},
|
||||
position: function() {
|
||||
setPosition(self.options.position);
|
||||
},
|
||||
|
|
@ -121,6 +125,7 @@ Ox.VideoTimelinePanel = function(options, self) {
|
|||
height: self.options.height,
|
||||
muted: self.options.muted,
|
||||
paused: self.options.paused,
|
||||
playbackRate: self.options.playbackRate,
|
||||
position: self.options.position,
|
||||
resolution: self.options.resolution,
|
||||
smallTimelineURL: self.options.smallTimelineURL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue