allow for small video timeline without image
This commit is contained in:
parent
d64f499034
commit
902b91f921
1 changed files with 2 additions and 3 deletions
|
@ -176,7 +176,7 @@ Ox.SmallVideoTimeline = function(options, self) {
|
|||
}
|
||||
|
||||
function getTimelineImage() {
|
||||
return Ox.SmallVideoTimelineImage({
|
||||
return (self.options.imageURL ? Ox.SmallVideoTimelineImage({
|
||||
duration: self.options.duration,
|
||||
imageURL: self.options.imageURL,
|
||||
'in': self.options['in'],
|
||||
|
@ -189,8 +189,7 @@ Ox.SmallVideoTimeline = function(options, self) {
|
|||
state: self.options.state,
|
||||
type: self.options.type,
|
||||
width: self.imageWidth
|
||||
})
|
||||
.css({
|
||||
}) : Ox.Element()).css({
|
||||
position: 'absolute',
|
||||
left: self.imageLeft + 'px',
|
||||
width: self.imageWidth + 'px'
|
||||
|
|
Loading…
Reference in a new issue