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() {
|
function getTimelineImage() {
|
||||||
return Ox.SmallVideoTimelineImage({
|
return (self.options.imageURL ? Ox.SmallVideoTimelineImage({
|
||||||
duration: self.options.duration,
|
duration: self.options.duration,
|
||||||
imageURL: self.options.imageURL,
|
imageURL: self.options.imageURL,
|
||||||
'in': self.options['in'],
|
'in': self.options['in'],
|
||||||
|
@ -189,8 +189,7 @@ Ox.SmallVideoTimeline = function(options, self) {
|
||||||
state: self.options.state,
|
state: self.options.state,
|
||||||
type: self.options.type,
|
type: self.options.type,
|
||||||
width: self.imageWidth
|
width: self.imageWidth
|
||||||
})
|
}) : Ox.Element()).css({
|
||||||
.css({
|
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
left: self.imageLeft + 'px',
|
left: self.imageLeft + 'px',
|
||||||
width: self.imageWidth + 'px'
|
width: self.imageWidth + 'px'
|
||||||
|
|
Loading…
Reference in a new issue