[Plugin: WPaudio MP3 Player] External stylesheet for the player and javascript in footer? (3 posts)

  1. Christine
    Posted 5 years ago #

    I wondered if there was anyway to somehow disable the output of the players style sheet in the header so I can add it to my main style sheet instead for optimization.
    I also wondered if it could be possible for the JavaScript it generates in the header to be pushed to the footer instead- I'm using the "JavaScript to footer" plugin and it doesn't seem to work for the following code which is still in the header, (but it does work for the other JavaScript relating to it):

    <script type="text/javascript">
    /* <![CDATA[ */
    var wpa = Array();
    var wpa_url = 'http://example/wp-content/plugins/wpaudio-mp3-player';
    var wpa_params = Array();
    var wpa_pref_bar = true;
    var wpa_pref_sub = true;
    /* ]]> */



  2. toddiceton
    Posted 5 years ago #

    The scripts that follow it depend on this block of code, so I wouldn't recommend trying too hard to move it. I'll try to condense this though.

  3. Christine
    Posted 5 years ago #

    Thanks for getting back on this. Thats fine then, I don't know much about javascript so I thought it best to ask :)

Topic Closed

This topic has been closed to new replies.

About this Topic