Select to view content in your preferred language

Embedded Website iframe Error

1455
2
Jump to solution
02-20-2020 03:51 PM
JohnNguyen
New Contributor

In December 2019, I had a Arcgis story that was able to embedded links for some interactive charts/tables from a website. Everything worked as planned!

Today however, those pages refuse to load within the iframe.

ArcGIS StoryMaps 

I embedded with this line.

<iframe src="https://opti.woodardcurran.com/atlasstories/chart.html" width="1280" height="720"></iframe>


Reused to display

0 Kudos
1 Solution

Accepted Solutions
AravindStoryMaps
Esri Regular Contributor

Hi John,

I embedded the html chart in a codepen within an iframe and it seems like the server that is hosted on seems to have added a 'sameorigin' lock causing the iframe to not appear. 

https://codepen.io/aravindesri/full/rNVMgzd

Any chance you check with the developers to allow other origins to embed the contents of the page?

Thanks,

Aravind

View solution in original post

2 Replies
AravindStoryMaps
Esri Regular Contributor

Hi John,

I embedded the html chart in a codepen within an iframe and it seems like the server that is hosted on seems to have added a 'sameorigin' lock causing the iframe to not appear. 

https://codepen.io/aravindesri/full/rNVMgzd

Any chance you check with the developers to allow other origins to embed the contents of the page?

Thanks,

Aravind

JohnNguyen
New Contributor

This fixed the issue, Thank you!