Embedded map blocked on website
Greetings,
We need your help. We use the Interactive Ship Tracking map for our customers on our company's intranet. All of a sudden, the map is "greyed-out" and not displaying.
Three errors in Chrome dev console state:
1. Uncaught DOMException: Blocked a frame with origin "https://www.marinetraffic.com" from accessing a cross-origin frame.
at e (https://www.marinetraffic.com/js/mtapp.380.8381c0.js:1:9993)
at https://www.marinetraffic.com/js/mtapp.380.8381c0.js:1:10188
at https://www.marinetraffic.com/js/mtapp.380.8381c0.js:1:10835
at t.default (https://www.marinetraffic.com/js/mtapp.380.8381c0.js:1:11131)
at t.default
2. Uncaught TypeError: window.__tcfapi is not a function
at choice.js:39
at choice.js:39
3. Uncaught TypeError: window.__tcfapi is not a function
at new e (cmp2.js?referer=www.marinetraffic.com:1)
at Module.<anonymous> (cmp2.js?referer=www.marinetraffic.com:1)
at n (cmp2.js?referer=www.marinetraffic.com:1)
at Object.<anonymous> (cmp2.js?referer=www.marinetraffic.com:1)
at n (cmp2.js?referer=www.marinetraffic.com:1)
at cmp2.js?referer=www.marinetraffic.com:1
at cmp2.js?referer=www.marinetraffic.com:1
I've been reading many of the other posts regarding this issue and have not found a fix...yet.
Are there any Tests that you guys can run on your end to check what the issue is?
The web page that we copy the "Live Tracking" url into is a company intranet; so it is private.
Any help would be extremely appreciated.
Be well
-
Official comment
Dear Aaron,
Thank you for your post.
I understand that you are facing issues with the free version of MarineTraffic Embed Map, as provided here:
https://www.marinetraffic.com/en/p/embed-mapCould you please be so kind as to make sure you have added the correct script on the intranet URL?
Please feel free to send any additional details, such screenshot of the map view you get, as long as the exact script you are using at customersupport@marinetraffic.com.
We will be glad to further help you.
Kind regards,
Comment actions
Please sign in to leave a comment.
Comments
1 comment