Comments (7)
Please go to AboutMyBrowser.com and paste the info from there into a comment on this issue. Thanks!
from zeroclipboard.
Also running Adobe Flash 11,6,602,167
from zeroclipboard.
Also, a few other questions:
- I assume your first code snippet would actually have the parents for the
setDefaults
call, right? - Is your localhost running on HTTP or HTTPS? The SWF and calling site need to be on the same protocol with the current setup.
- Try removing the 'localhost' item from your
trustedDomains
array. Any improvement? - Since you are using Chrome: do you have PepperFlash disabled? If not, please try disabling it to see if the official Abode Flash Player works for this.
from zeroclipboard.
- Yes, everything is coded correctly (if I swap the moviePath with a local SWF everything works without error).
- localhost on HTTP, remote on HTTPS, I will make these match and see if any improvement.
- I tried many combinations of trustedDomains, no luck with any of them (including your suggested one).
- PepperFlash is enabled, I will disable and see if any improvement.
from zeroclipboard.
(2) Switching to http://d2glos6gx2bw40.cloudfront.net/C8QpR9/images/flash/ZeroClipboard.swf
fixed it while served from http://localhost
. This would appear to be the crux of the problem which -- I wonder if Flash as a security permission to allow cross-SSL bridges.
(4) Disabling PepperFlash did not improve, I got a slightly different error with the same traceback, though:
Uncaught Error: Error in Actionscript. Use a try/catch block to find error. zeroClipboard.js:178
ZeroClipboard.setSize zeroClipboard.js:178
ZeroClipboard.reposition zeroClipboard.js:256
ZeroClipboard.setCurrent zeroClipboard.js:162
_elementMouseOver zeroClipboard.js:36
Thank you for your help. Our live site is https://
so this issue is closed for me. Hopefully this debugging process will be insightful to folks who stumble across this thread in the future.
from zeroclipboard.
There is a setting in Flash to control this (allowInsecureDomain
) but generally I'd hope we won't have to expose it. For your particular situation, try switching the SWF moviePath
URL to a protocol-relative URL, e.g.
ZeroClipboard.setDefaults({
moviePath: "//d2glos6gx2bw40.cloudfront.net/C8QpR9/images/flash/ZeroClipboard.swf",
trustedDomains: ['*'],
allowScriptAccess: "always"
});
This should work on both HTTP and HTTPS by using the same protocol as the page.
from zeroclipboard.
I had the same issue, but my problem was an incompatibility with https-everywhere add-on.
It changes to https wherever it can.
They say that chrome should be considered beta at best, so I turned it off.
https://www.eff.org/https-everywhere
from zeroclipboard.
Related Issues (20)
- Copy a table using zeroclipboard
- ZeroClipboard never initialises HOT 1
- Why the button on github repo page doesn't need a flash object HOT 2
- Seeking new maintainers/collaborators HOT 8
- zeroclipboard alternative HOT 1
- it not work in mac chrome HOT 2
- how to use in vue2.0? HOT 1
- the content contains "<script" , the copy doesn't work
- Not working upon Recent upgrade of chrome in windows, but IE works HOT 7
- Problem with using this in something other than a button
- why the position absolute are not working. help HOT 1
- not working in chrome HOT 2
- Unable to keep format as it is while copying HOT 1
- How can get the selector to set to other method
- Xss problem HOT 6
- init zeroclipboard throw flash-disabled error HOT 1
- Encoding problems in IE11
- Copy the table and paste the data into MS-Excel
- Demo page not work but github copy clone url does? HOT 1
- `<button>` independent, support run as callback please!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zeroclipboard.