allow for small video timeline without image

This commit is contained in:
rlx 2013-07-13 13:58:10 +00:00
parent d64f499034
commit 902b91f921

View file

@ -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'