1
0
Fork 0
forked from 0x2620/oxjs

rename various options of video widgets to allow for different timeline types

This commit is contained in:
rlx 2012-04-18 07:43:32 +00:00
commit 132e8d2207
10 changed files with 90 additions and 67 deletions

View file

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