AMP: Origin of <amp-iframe> must not be equal to container
<p>I want to solve this problem in my first AMP project,</p>

<p>This is the problem that I have:</p>

<p>error.js:58:</p>

<pre><code>Origin of &lt;amp-iframe&gt; must not be equal to container
</code></pre>

<p>This is my amp-iframe code in my index.html:</p>

<pre><code>&lt;amp-iframe
    width=100
    height=100
    layout="nodisplay"
    sandbox="allow-same-origin allow-forms allow-scripts"
    src="https://www.example.com/scripts/app.js"&gt;
&lt;/amp-iframe&gt;
</code></pre>

<p>when I navigate the console tab, this is what I have:</p>

<pre><code>Powered by AMP ⚡ HTML – Version 1462999126709

AMP validation successful.
</code></pre>

<p>I used <code>&lt;amp-iframe&gt;</code> to use external javascript, my custom.js</p>