cross domain canvas is hard
This commit is contained in:
parent
ef6b5e7071
commit
a7d11d04f2
1 changed files with 2 additions and 6 deletions
|
@ -1254,9 +1254,7 @@ pandora.getLargeClipTimelineURL = function(item, inPoint, outPoint, type, callba
|
|||
}
|
||||
})
|
||||
.attr({
|
||||
src: pandora.getMediaURL(
|
||||
'/' + item + '/timeline' + type + '64p' + index + '.jpg'
|
||||
)
|
||||
src: '/' + item + '/timeline' + type + '64p' + index + '.jpg'
|
||||
})[0];
|
||||
}, function() {
|
||||
callback(canvas.toDataURL());
|
||||
|
@ -1469,9 +1467,7 @@ pandora.getSmallClipTimelineURL = function(item, inPoint, outPoint, type, callba
|
|||
}
|
||||
})
|
||||
.attr({
|
||||
src: pandora.getMediaURL(
|
||||
'/' + item + '/timeline' + type + '16p' + index + '.jpg'
|
||||
)
|
||||
src: '/' + item + '/timeline' + type + '16p' + index + '.jpg'
|
||||
})[0];
|
||||
}, function() {
|
||||
callback(canvas.toDataURL());
|
||||
|
|
Loading…
Reference in a new issue