I want to solve this problem in my first AMP project,
This is the problem that I have:
error.js:58:
Origin of <amp-iframe> must not be equal to container
This is my amp-iframe code in my index.html:
<amp-iframe
width=100
height=100
layout="nodisplay"
sandbox="allow-same-origin allow-forms allow-scripts"
src="https://www.example.com/scripts/app.js">
</amp-iframe>
when I navigate the console tab, this is what I have:
Powered by AMP ⚡ HTML – Version 1462999126709
AMP validation successful.
I used <amp-iframe>
to use external javascript, my custom.js