Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Playbuzz

    (@playbuzz)

    Hi,

    Our script is currently tuned to start on document ready so when you load it through an ajax call it never initiates. We would definitely look into improving that.
    In the meantime, you can manual initiate our script by calling the following function once the ajax call’s has completed its job successfully :

    PlayBuzz.core.render();

    Let me know if this helps,
    Thanks!
    Version 0.2.1 coming soon with a few improvements, stay tuned ??

    Thread Starter radi_v

    (@radi_v)

    Yes, that worked. I had to use an interval in my success part of the ajax call like so, but got it working.

    if (data.search(‘www.playbuzz.com’)!=-1){
    var playBuzzInt = setInterval(function(){
    if(typeof(PlayBuzz)!=’undefined’){
    PlayBuzz.core.render();
    clearInterval(playBuzzInt);
    }
    }, 100);
    }

    Thank you for the fast replay!

    Can you please elaborate that a bit? I couldn’t solve the problem. site: muzik.gr
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Running shortcode inside the content with AJAX’ is closed to new replies.