• I am completely new to php. I am trying to get xspf player installed on my wp blog. I have uploaded all the files to the wp-plugins folder and such and have tried adding the code <?php xspf_player::start(‘category-tag’); ?> to one of my template pages but it does not even show up on the page. It does however show up in the plugins management section of wp and has been activated. If anyone could help me understand what I am doing wrong, it would be greatly appreciated.

    Which page am I supposed to be putting this code into and where? I tried putting it on the main index template.
    Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m having trouble too but nobody seems to give a shit.

    I’m having trouble as well. The player seems to work mainly in Safari.

    Please advise.

    Where do you want it? If in sidebar – put the <?php xspf_player::start('category-tag'); ?> wherever you want it to appear there.

    If you want to put it on a page or in a post, get a plugin like “Preserve Code Formatting” (There are plenty of others that allow code execution inside a page/post).
    https://www.coffee2code.com/wp-plugins/#preservecodeformatting
    Activate it and insert your <?php xspf_player::start('category-tag'); ?> in the page or post.

    Similarly if you want it in the header – insert code in header.php- footer – footer.php.

    Thread Starter tyronerock

    (@tyronerock)

    Ok…here is where I stand…

    I have added the code to embed the player and i am now trying to create a category to name in the

    “xspf_player::start(‘category-tag’); ?> statement, but i am getting the following error when trying to create a playlist called listen.

    “WordPress database error: [Unknown column ‘random’ in ‘field list’]
    INSERT INTO wp_xspf_player_categories(name, random) VALUES (‘listen’, ”)

    Does anyone know how to correct this?

    Also the player is only showing in the sidebar of my comments page. The code is added to the sidebar.php of the theme template.

    Any help is much appreciated.thx

    My problem is that i dont get how i can embed it. Could someone please give a step by step newbie help.

    I done something like this: administration=> manage=>files=>sidebar.php… and here i dont have a clue where i should insert the tag. If someone could tell me where in i.e. the default template i would really apreciate it!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Newbie question about installing xspf player’ is closed to new replies.