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

@ -24,9 +24,8 @@ Ox.LargeVideoTimeline = function(options, self) {
matches: [],
out: 0,
position: 0,
style: 'default', // fixme: there are no different styles yet
subtitles: [],
type: 'player',
type: '',
width: 0
})
.options(options || {})
@ -158,7 +157,7 @@ Ox.LargeVideoTimeline = function(options, self) {
if (!self.$tiles[i]) {
self.$tiles[i] = $('<img>')
.attr({
src: self.options.getImageURL(i)
src: self.options.getImageURL(self.options.type, i)
})
.css({
left: (i * self.tileWidth) + 'px'