Hi Richard,
Tried using the remote URL and although I don't get JS errors the copy 
functionality stops working. The reason is cross-domain security restrictions 
applied by flash. According to the ZeroClipboard docs the code should 
auto-detect and deal with this but apparently it's not happening. I'll see if 
this can be fixed.

Svet.

-----Original Message-----
From: Richard Downer [mailto:[email protected]] 
Sent: Monday, December 1, 2014 3:02 PM
To: Brooklyn dev
Subject: Help required - ZeroClipboard in jsgui

Hello all,

I've been trying to remove the ZeroClipboard.swf file from the jsgui project. 
My intention is to replace it with a CDN-hosted version, such as 
http://cdnjs.com/libraries/zeroclipboard.

However my attempts have all ended in failure. I replace the references to 
ZeroClipboard.swf with the CDN-based URL, and copy-to-clipboard stops working. 
The Javascript console is showing a failure inside ZeroClipboard.js which I 
cannot explain.

I'm not a Javascript expert so I don't really know how to debug this.
Could I hand it over to one of the jsgui experts?

Thanks

Richard.

Reply via email to