I am attempting to import the Marine Traffic site into my app via an IFrame or custom component system. Although when I do, I only get the web page's background as a response or no response at all.
Marine Traffic can be found here:
It is this style of interactive map I would like to use. Marine Traffic also supply an embed page, although I get the same blank response when I use this method:
Any way to fix this or suggest other ways to embed the page would be great, thanks!
Please could you share a JSON App export of what you currently have?
This will give us more context to the issue
It looks like the script at https://www.marinetraffic.com/js/embed.js mainly serves to generate the
src (and some other settings) for an iframe. You might be able to use that directly with the iframe component itself. The attached app runs the portion of the script that generates the
src but you can also try using one of the following URLs:
Just make sure
Storage and cookies is enabled for the component!
Hopefully that helps
This worked great and looks fantastic, thanks!