load small timeline images synchronously, fails on 0xdb
This commit is contained in:
parent
be9ec5a86a
commit
0ceaf11ea2
1 changed files with 9 additions and 12 deletions
|
@ -138,6 +138,9 @@ Ox.SmallVideoTimelineImage = function(options, self) {
|
|||
}
|
||||
|
||||
self.$subtitles = $('<img>')
|
||||
.attr({
|
||||
src: getImageURL('subtitles')
|
||||
})
|
||||
.css({
|
||||
position: 'absolute',
|
||||
top: self.imageTop + 'px',
|
||||
|
@ -147,6 +150,9 @@ Ox.SmallVideoTimelineImage = function(options, self) {
|
|||
.appendTo(that);
|
||||
|
||||
self.$results = $('<img>')
|
||||
.attr({
|
||||
src: getImageURL('results')
|
||||
})
|
||||
.css({
|
||||
position: 'absolute',
|
||||
top: self.imageTop + 'px',
|
||||
|
@ -156,6 +162,9 @@ Ox.SmallVideoTimelineImage = function(options, self) {
|
|||
.appendTo(that);
|
||||
|
||||
self.$selection = $('<img>')
|
||||
.attr({
|
||||
src: getImageURL('selection')
|
||||
})
|
||||
.css({
|
||||
position: 'absolute',
|
||||
top: self.imageTop + 'px',
|
||||
|
@ -164,18 +173,6 @@ Ox.SmallVideoTimelineImage = function(options, self) {
|
|||
})
|
||||
.appendTo(that);
|
||||
|
||||
setTimeout(function() {
|
||||
self.$subtitles.attr({
|
||||
src: getImageURL('subtitles')
|
||||
});
|
||||
self.$results.attr({
|
||||
src: getImageURL('results')
|
||||
});
|
||||
self.$selection.attr({
|
||||
src: getImageURL('selection')
|
||||
});
|
||||
});
|
||||
|
||||
function getClipTimeline() {
|
||||
var $canvas, context, image,
|
||||
firstTile, lastTile, tileHeight, tileOffset, tileWidth;
|
||||
|
|
Loading…
Reference in a new issue