forked from 0x2620/oxjs
use new form element syntax, continued
This commit is contained in:
parent
e47305c93f
commit
02f53a57c1
15 changed files with 107 additions and 88 deletions
|
|
@ -22,6 +22,7 @@ Ox.VideoEditor = function(options, self) {
|
|||
censored: [],
|
||||
cuts: [],
|
||||
duration: 0,
|
||||
enableSubtitles: false,
|
||||
find: '',
|
||||
fps: 25,
|
||||
getFrameURL: null,
|
||||
|
|
@ -181,6 +182,7 @@ Ox.VideoEditor = function(options, self) {
|
|||
duration: self.options.duration,
|
||||
enableMouse: true,
|
||||
enablePosition: true,
|
||||
enableSubtitles: self.options.enableSubtitles,
|
||||
externalControls: true,
|
||||
find: self.options.find,
|
||||
height: self.sizes.player[i].height,
|
||||
|
|
@ -221,6 +223,9 @@ Ox.VideoEditor = function(options, self) {
|
|||
that.triggerEvent('resolution', data);
|
||||
},
|
||||
size: toggleSize,
|
||||
subtitles: function(data) {
|
||||
that.triggerEvent('subtitles', data);
|
||||
},
|
||||
volume: function(data) {
|
||||
that.triggerEvent('volume', data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue