Home Forums General Issues Youtube embed deffer loading Reply To: Youtube embed deffer loading

  • @john Huebner,

    I came to this post because I see a huge difference in pageload when using Oembed video on my homepage.

    The PHP function you provided removes the video completely. That’s Ok because you provided the javascript to reset the src value after the page is loaded.
    The problem on my site is, that the src values aren’t reset after the page is loaded. This means the video isn’t displayed.

    I’ve put the javascript code in the header.php.

    What i’m doing wrong?