Just wanted to let people know that it’s possible to load all the scripts in the footer, to speed up page load.
Just open audio-player.php and replace this:
add_action("wp_head", array(&$this, "addHeaderCode"));
add_action("wp_footer", array(&$this, "addHeaderCode"));
It works on my site, but I’m not making any guarantees.
It would be nice if it loaded the script only when there was an audio player on the page.
Great plugin, otherwise!
- The topic ‘[Plugin: Audio Player] Embed scripts in footer’ is closed to new replies.