Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error iframe cross domain (google maps) #208

Open
Ricardlol opened this issue May 3, 2019 · 0 comments
Open

Error iframe cross domain (google maps) #208

Ricardlol opened this issue May 3, 2019 · 0 comments

Comments

@Ricardlol
Copy link

In page there is a google map iframe. Unite gallery tries to get content of iframe in this function once loaded: https://github.com/vvvmax/unitegallery/blob/master/dist/js/unitegallery.js#L2374
Plugin throws this error:

Uncaught DOMException: Blocked a frame with origin "http://localhost:8069" from accessing a cross-origin frame.
    at contents (http://localhost:8069/web/content/378-1824de9/web.assets_common.js:535:921)
    at Function.map (http://localhost:8069/web/content/378-1824de9/web.assets_common.js:377:156)
    at jQuery.fn.init.jQuery.fn.(anonymous function) [as contents] (http://localhost:8069/web/content/378-1824de9/web.assets_common.js:535:1040)
    at HTMLIFrameElement.t (http://localhost:8069/web/content/414-38c6a42/web.assets_frontend.js:1205:725)
    at HTMLIFrameElement.dispatch (http://localhost:8069/web/content/378-1824de9/web.assets_common.js:637:451)
    at HTMLIFrameElement.elemData.handle (http://localhost:8069/web/content/378-1824de9/web.assets_common.js:610:173)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant