1
0
Fork 0
forked from 0x2620/oxjs

better api for timeline images

This commit is contained in:
rolux 2011-05-17 11:43:54 +02:00
commit bab9c8be8e
5 changed files with 33 additions and 30 deletions

View file

@ -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
})