don't use canvas for the timeline image
This commit is contained in:
parent
bab9c8be8e
commit
aadd8c8458
2 changed files with 44 additions and 64 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue