forked from 0x2620/oxjs
better api for timeline images
This commit is contained in:
parent
1f2a7f6953
commit
bab9c8be8e
5 changed files with 33 additions and 30 deletions
|
|
@ -5,12 +5,12 @@ Ox.BlockVideoTimeline = function(options, self) {
|
|||
.defaults({
|
||||
duration: 0,
|
||||
find: '',
|
||||
getTimelineURL: null,
|
||||
'in': 0,
|
||||
out: 0,
|
||||
position: 0,
|
||||
results: [],
|
||||
subtitles: [],
|
||||
timeline: null,
|
||||
width: 0
|
||||
})
|
||||
.options(options || {})
|
||||
|
|
@ -46,11 +46,11 @@ Ox.BlockVideoTimeline = function(options, self) {
|
|||
self.$image = Ox.SmallVideoTimelineImage({
|
||||
duration: self.options.duration,
|
||||
editing: self.options.editing,
|
||||
getTimelineURL: self.options.getTimelineURL,
|
||||
'in': self.options['in'],
|
||||
out: self.options.out,
|
||||
results: self.options.results,
|
||||
subtitles: self.options.subtitles,
|
||||
timeline: self.options.timeline,
|
||||
width: Math.ceil(self.options.duration),
|
||||
type: self.options.type
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue