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

@ -208,13 +208,11 @@ Ox.load('UI', {
$smallTimeline = Ox.SmallVideoTimeline({
duration: 6336.08,
find: 'brick',
getTimelineURL: function(i) {
return 'png/timeline.16.' + i + '.png';
},
'in': 3128.725,
out: 3130.725,
results: results,
subtitles: subtitles,
timeline: 'png/timeline.16.png',
type: 'editor',
width: 376
})
@ -228,13 +226,11 @@ Ox.load('UI', {
$playerTimeline = Ox.SmallVideoTimeline({
duration: 6336.08,
find: 'brick',
getTimelineURL: function(i) {
return 'png/timeline.16.' + i + '.png';
},
'in': 3128.725,
out: 3130.725,
results: results,
subtitles: subtitles,
timeline: 'png/timeline.16.png',
type: 'player',
width: 376
})
@ -248,14 +244,14 @@ Ox.load('UI', {
$blockTimeline = Ox.BlockVideoTimeline({
duration: 6336.08,
find: 'brick',
getTimelineURL: function(i) {
return 'png/timeline.16.' + i + '.png';
},
'in': 3128.725,
out: 3130.725,
results: results,
showMilliseconds: 2,
subtitles: subtitles,
timeline: function(i) {
return 'png/timeline.16.' + i + '.png';
},
width: 376
})
.css({