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({
|
.attr({
|
||||||
src: pandora.getMediaURL(
|
src: '/' + item + '/timeline' + type + '64p' + index + '.jpg'
|
||||||
'/' + item + '/timeline' + type + '64p' + index + '.jpg'
|
|
||||||
)
|
|
||||||
})[0];
|
})[0];
|
||||||
}, function() {
|
}, function() {
|
||||||
callback(canvas.toDataURL());
|
callback(canvas.toDataURL());
|
||||||
|
@ -1469,9 +1467,7 @@ pandora.getSmallClipTimelineURL = function(item, inPoint, outPoint, type, callba
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.attr({
|
.attr({
|
||||||
src: pandora.getMediaURL(
|
src: '/' + item + '/timeline' + type + '16p' + index + '.jpg'
|
||||||
'/' + item + '/timeline' + type + '16p' + index + '.jpg'
|
|
||||||
)
|
|
||||||
})[0];
|
})[0];
|
||||||
}, function() {
|
}, function() {
|
||||||
callback(canvas.toDataURL());
|
callback(canvas.toDataURL());
|
||||||
|
|
Loading…
Add table
Reference in a new issue