forked from 0x2620/oxjs
rename various options of video widgets to allow for different timeline types
This commit is contained in:
parent
baa9e9be61
commit
132e8d2207
10 changed files with 90 additions and 67 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue