Title: [Plugin: Audio Player] Only load javascript &amp; swf when needed?
Last modified: August 19, 2016

---

# [Plugin: Audio Player] Only load javascript & swf when needed?

 *  [jshare](https://wordpress.org/support/users/jshare/)
 * (@jshare)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-audio-player-only-load-javascript-swf-when-needed/)
 * I noticed that Audio Player loads its js & swf files regardless of whether or
   not the calling page needs them. Is there any way of limiting these calls to 
   the blog posts that actually have an embedded podcast only?
 * Thanks
 * Jacob
 * [http://wordpress.org/extend/plugins/audio-player/](http://wordpress.org/extend/plugins/audio-player/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [modus](https://wordpress.org/support/users/modus/)
 * (@modus)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-audio-player-only-load-javascript-swf-when-needed/#post-1894475)
 * Just what I am looking for. I guess it would be relatively easy to add some checkboxes
   to the admin panel, that’d let you choose one or more taxonomies, where the code
   should be included. Unfortunately I am not that well a coder.
 *  [gekido](https://wordpress.org/support/users/gekido/)
 * (@gekido)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-audio-player-only-load-javascript-swf-when-needed/#post-1894785)
 * there are a billion plugins that are guilty of this – in fact it’s one of my 
   bigger gripes about wordpress in general – as soon as you get a somewhat advance
   site that uses a few plugins on it, you suddenly have every plugin and it’s friend
   trying to include a bajillion css & javascript files on every page in wordpress.
 * no idea whether this kind of thing would / could be done, but would be a huge
   boon to wordpress in general if a solution for this kind of behavior could be
   figured out.
 *  Thread Starter [jshare](https://wordpress.org/support/users/jshare/)
 * (@jshare)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-audio-player-only-load-javascript-swf-when-needed/#post-1894787)
 * I posted a more general complaint & suggested solution about this here:
 * [http://wordpress.org/support/topic/a-way-to-limit-plugin-resource-calls?replies=1#post-1923104](http://wordpress.org/support/topic/a-way-to-limit-plugin-resource-calls?replies=1#post-1923104)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Audio Player] Only load javascript & swf when needed?’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/audio-player.svg)
 * [Audio Player](https://wordpress.org/plugins/audio-player/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/audio-player/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/audio-player/)
 * [Active Topics](https://wordpress.org/support/plugin/audio-player/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/audio-player/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/audio-player/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [jshare](https://wordpress.org/support/users/jshare/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-audio-player-only-load-javascript-swf-when-needed/#post-1894787)
 * Status: not resolved