• Resolved Mysterarts

    (@mysterarts)


    Hi,

    I’m trying to embed iframe with this (excellent!) plugin but I have an issue with firefox. It seems to not fire any function in the onload attribute of the iframe. The site is loaded but I can’t modify the content or resize the frame.
    I tried to add a simple console.log in the onload attribute, without success only on this browser: it’s working fine on Chrome or Safari.
    There are no errors in the console either.

    Any idea why this is happening?
    Thanks in advance ??

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Mysterarts

    (@mysterarts)

    Shouldn’t try to work on Sunday ^^’
    It was a plugin of my browser that created the issue… (I though I tried it without success on another Firefox ?? Should have tried it on incognito mode).
    Sorry for that!

    Hello,

    I’m having a similar issue, only in my case the onload JavaScript is not firing on Chrome for Windows. As with you, no errors, no messages whatsoever in the console. The script is just not being called.
    Which plugin caused the issue for you?

    And to make it even worse. it does work in roughly 1 out of 10 page loads.
    And: the backup of my site on another server always works in Chrome, with the same plugins and settings.

    I’m at loss here – any other ideas?
    Thanks!

    • This reply was modified 2 years, 7 months ago by kinghill.
    Plugin Author mdempfle

    (@mdempfle)

    Sounds like a timing issue.

    which shortcode do you use. Some servers are faster than others and maybe the elements are rendered not quick enough.

    The resize has a delay you can try. Most of the time this solves the issue.

    Best regards,
    Michael

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Onload not firing with Firefox’ is closed to new replies.