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
|
|
@ -33,6 +33,7 @@ Ox.VideoEditPanel = function(options, self) {
|
|||
muted: false,
|
||||
out: 0,
|
||||
paused: true,
|
||||
playbackRate: 1,
|
||||
playInToOut: false,
|
||||
position: 0,
|
||||
resolution: 0,
|
||||
|
|
@ -89,6 +90,9 @@ Ox.VideoEditPanel = function(options, self) {
|
|||
paused: function() {
|
||||
self.$video.options({paused: self.options.paused});
|
||||
},
|
||||
playbackRate: function() {
|
||||
self.$video.options({playbackRate: self.options.playbackRate});
|
||||
},
|
||||
position: function() {
|
||||
self.$video.options({position: self.options.position});
|
||||
self.$timeline.options({position: self.options.position});
|
||||
|
|
@ -233,6 +237,7 @@ Ox.VideoEditPanel = function(options, self) {
|
|||
loop: self.options.loop,
|
||||
muted: self.options.muted,
|
||||
out: self.options.out,
|
||||
playbackRate: self.options.playbackRate,
|
||||
paused: self.options.paused,
|
||||
position: self.options.position,
|
||||
resolution: self.options.resolution,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue