From a7d11d04f22f5cf33610de8a40224a98c58ef115 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 2 Feb 2014 19:50:33 +0000 Subject: [PATCH] cross domain canvas is hard --- static/js/utils.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/static/js/utils.js b/static/js/utils.js index 27b3a234..a28aba58 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -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());