Support » Plugins » Install XSPF Player in Sidebar

  • I followed the plugin installation instructions from the author’s Wiki. The xspf folder/files are on my server. The plugin is activated & appears in my admin interface. I’ve linked the plugin to an mp3 file.

    Now, what I want to do is place the ‘wide list’ player displayed here in my sidebar. I don’t see anything in the instructions saying how to do that. I tried copying the author’s code for the player on the above linked blog pg., but I couldn’t figure out how to convert the ‘data’ and ‘value’ links to my own blog links. For example, his code is:
    <!-- WordPress XSPF_Player Plugin v. 3.1, by Boriel :-) -->
    <span id="xspf_player1">
    <object type="application/x-shockwave-flash" DATA=""
    width="180" height="100" codebase=",0,0,0">
    <param name="movie" VALUE="" />
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#C0C0C0" />

    I have my files at:

    Would anyone be able to help me translate his code on the above pg. for my sidebar? I’d be grateful if you could.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Once the plugin is installed, etc., get another sidebar widget called executable PHP widget. This lets you plug in code into the sidebar like the new Text box. In it plug the above code in but replace the URL of the player and playlist. Where it says DATA=”, input the URL of where your player lives and where it says playlist=, type in the URL of your playlist. The code repeats so you have to replace a total of 4 URLs. Once you do that, the player should work.

    Can someone help me find out why my music is not playing? I’ve uploaded all the files, activated the plugin in the wordpress admin and loaded songs through the xspf manager. The player shows up on my site fine but it doesn’t play the songs.

    I’ve used this code to put it in my sidbar:
    <?php xspf_player::start(‘Playlist’); ?>

    any suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Install XSPF Player in Sidebar’ is closed to new replies.