Domanda

I'm using zClip on my website to copy several things in textboxes, I got everything working just fine but now, without changing anything, it stopped working.

The reason is that the host of the file ZeroClipboard.swf have deleted the file or for some reason made inaccessible.

I have an other version(?) of the ZeroClipboard.swf on my computer from another script and I tried replacing the deleted link with a new link of the other version(?) I found on my computer. But it doesn't work, the flash movie loads but I can't click my button and copy the content. When I'm using the old link that doesn't work anymore it says "Movie hasn't loaded yet". It can't load because the file is inaccessible.

So because with the new link the movie loads but doesn't work, I'm sure it's another version not compatible with my script.

Now to my question: Do any of you have the version of ZeroClipboard.swf that was hosted on the SteamDev.com site? If, could you possibly upload it somewhere for me to download, I'd really appreciate it.

Thanks!

È stato utile?

Soluzione

I was searching for ZeroClipboard.swf today, and I got the same problem.

Looking around, I found a tutorial about it here. You can see there's a hosted version of ZeroClipboard.swf, here is the url:

http://davidwalsh.name/demo/ZeroClipboard.swf

I tried this version and it works like a charm. Now, I highly recommend you to host your proper version of this file, to avoid this kind of problem later.

Altri suggerimenti

Just go to the official site and then open the source code and copy swf path from there :)

here it is http://www.steamdev.com/zclip/js/ZeroClipboard.swf

It didn't load because it was blocked due to XSS vulnerability http://seclists.org/fulldisclosure/2013/Mar/207 Now you can get a safe version from https://github.com/jonrohan/ZeroClipboard

Get ZeroClipboard.swf file from following link:

https://github.com/paulirish/css3please/blob/master/ZeroClipboard.swf

The answer above didn't work for me but I looked at zClip's source and found the url for the .swf they are using; http://www.steamdev.com/zclip/js/ZeroClipboard.swf

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top