• Resolved tvarghesedt

    (@tvarghesedt)


    I added Custom content with iframe inside Custom AMP Editor –

    <amp-iframe src=”URL” width=”1000″ height=”320″ frameborder=”0″ sandbox=”allow-scripts allow-same-origin”></amp-iframe>

    But it is not working as the script is not included in head –

    http://prntscr.com/e285q8

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hey @tvarghesedt

    Thanx for pointing it out, we need to test this, so creating a ticket here and you can keep a track of the progress on it there

    Regards
    Khaled

    Thread Starter tvarghesedt

    (@tvarghesedt)

    Thanks Khaled! I will follow on Git.

    Hey @tvarghesedt

    I have understood what mistake you did, Please follow the new ticket… above issue can be solved by adding the normal iframe

    <iframe src=”URL” width=”1000″ height=”320″ frameborder=”0″ sandbox=”allow-scripts allow-same-origin”></iframe>

    Regards
    Khaled

    Hello, I use the insert php plugin (https://ww.wp.xz.cn/plugins/insert-php/) as I have a few PHP functions to interact with my IFRAME forms. I have to use IFRAME as these go into Pardot (Salesforce).

    AMP works fine across the site except any form page. I get an:
    Fatal error: Call to undefined function iframe1() in %sitepath%/wp-content/plugins/insert-php/insert_php.php(48) : eval()’d code on line 1.

    It seems like AMP is disabling the other plugin. Thoughts?

    Hello again, I can verify that all plugins are getting disabled when viewing an AMP page. Is that supposed to happen or can I adjust this behavior?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Amp-iframe not working inside Custom AMP Editor’ is closed to new replies.