Error iframe cross domain (google maps)
Ricardlol opened this issue · 0 comments
Ricardlol commented
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)