don't use canvas for the timeline image

This commit is contained in:
rolux 2011-05-17 12:00:49 +02:00
commit aadd8c8458
2 changed files with 44 additions and 64 deletions

View file

@ -53,14 +53,11 @@ Ox.BlockVideoTimeline = function(options, self) {
timeline: self.options.timeline,
width: Math.ceil(self.options.duration),
type: self.options.type
})
.bindEvent('load', function() {
// wait until the timeline image (the one image that is async)
// has loaded, so we can clone the element
Ox.loop(self.lines, function(i) {
addLine(i);
});
})
});
Ox.loop(self.lines, function(i) {
addLine(i);
});
self.$positionMarker = $('<img>')
.attr({