0

I am using the Vimeo API to get thumbnails of videos which I would like to apply effects to using Pixastic. However, in Chrome and Safari I get the error message: "Uncaught Error: SECURITY_ERR: DOM Exception 18". I have tried drawing the external images to canvas elements and then applying the Pixastic effects to those canvas elements but I get the same error message.

Is anyone successfully using Pixastic with external images in Webkit?

Tom
  • 65
  • 1
  • 1
  • 3

1 Answers1

0

I ran into this problem too, only I didn't realize my problem was external images. Changing from absolute to root relative links worked for me.

didn't work: http://domain.com/image.jpg

will work:   /image.jpg

Pixastic can't work on external images due to a canvas security limitation. The way around this is to either create a proxy to serve the external images as if they were local, or you will have to copy the images.

Community
  • 1
  • 1
Andrew
  • 227,796
  • 193
  • 515
  • 708