• Resolved evolvedmonkey

    (@evolvedmonkey)


    WordPress version: 3.5.1
    Plugin version: 2.1
    Link to my site: Sorry, still only on my local

    I expected the plugin to do this: The plugin, Advanced Ajax Page Loader (2.6.5), has a little section where you can add reload codes, scripts that will run when the content is dynamically refreshed with Ajax so that it behaves like a fresh reload (player works and looks great on a full reload). But, I can’t figure out the right scripts to use in that section to get the plugin to load on Ajax refresh.

    Instead it did this: Doesn’t load.

    Here’s what I’ve tried so far: I tried inserting the code from jquery.jplayer.js with and without a “jQuery(document).ready(function(){” but I can’t get it to work.

    Any ideas what I should put in there that will get it to load?

    https://www.ads-software.com/extend/plugins/html5-jquery-audio-player/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter evolvedmonkey

    (@evolvedmonkey)

    In the end, I just dumped the entire contents of jQuery.jplayer.js, the player script that loads in the window and the playlist script (all 3, I just grabbed from viewing source after a non-ajax page with the player loaded). No need to wrap it in anything, just put each one, one after another, in the Ajax Page Loader reload script section.

    I’ve found the Ajax Page Loader to be a little quirky, though, so you may want to paste everything into an editor and then paste it from there into the Reload Scripts section if it’s not working properly.

    Plugin Author Maeve Lander

    (@enigmaweb)

    Thanks for sharing your solution evolvedmonkey.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Integration with Advanced Ajax Page Loader’ is closed to new replies.