forked from 0x2620/oxjs
rename various options of video widgets to allow for different timeline types
This commit is contained in:
parent
baa9e9be61
commit
132e8d2207
10 changed files with 90 additions and 67 deletions
|
|
@ -17,6 +17,7 @@ Ox.BlockVideoTimeline = function(options, self) {
|
|||
showPointMarkers: false,
|
||||
state: 'default',
|
||||
subtitles: [],
|
||||
type: '',
|
||||
width: 0
|
||||
})
|
||||
.options(options || {})
|
||||
|
|
@ -54,14 +55,15 @@ Ox.BlockVideoTimeline = function(options, self) {
|
|||
self.$image = Ox.SmallVideoTimelineImage({
|
||||
duration: self.options.duration,
|
||||
editing: self.options.editing,
|
||||
imageURL: self.options.getImageURL,
|
||||
'in': self.options['in'],
|
||||
mode: 'editor',
|
||||
out: self.options.out,
|
||||
results: self.options.results,
|
||||
state: self.options.state,
|
||||
subtitles: self.options.subtitles,
|
||||
timeline: self.options.getImageURL,
|
||||
width: Math.round(self.options.duration),
|
||||
type: 'editor'
|
||||
type: self.options.type,
|
||||
width: Math.round(self.options.duration)
|
||||
});
|
||||
|
||||
Ox.loop(self.lines, function(i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue