• Hi,

    Sorry I know its kind of a repeat but I can’t find a solution to the lazy load ajax issue. The function initFeaturedVideoPlus() does not reinitialise the new posts that have been AJAX loaded.

    I’ve tried lots of approaches to no avail. Am I calling it wrong by doing something like this….

    ajax_success(){
    // returned posts and added to dom…
    initFeaturedVideoPlus();
    }

    Thanks

    https://wordpress.org/plugins/featured-video-plus/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Alex

    (@ahoereth)

    Did you try manually calling the function from the browsers JS console after some videos have been lazy loaded?

    Thread Starter arthurrandom

    (@arthurrandom)

    Yes I did. I think it calls it because it doesn’t affect the videos but returns ‘undefined’.

    And if I just type initFeaturedVideoPlus without the brackets into the console it recognises which function in the code it refers to.

    Thanks again

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘initFeaturedVideoPlus() doesn't work for me’ is closed to new replies.