FAQ  •  Register  •  Login

Player will not appear in post or page

<<

folkbot

Posts: 4

Joined: Tue Oct 30, 2007 9:06 pm

Post Tue Oct 30, 2007 9:09 pm

Player will not appear in post or page

I press the 'xspf' button on the 'code' edit toolbar.

When I publish the page, i see nothing but this:

" _start() "

I want to add the player to one post only.

Can anyone help?
<<

motmot

Posts: 4

Joined: Wed Oct 31, 2007 10:57 pm

Post Wed Oct 31, 2007 11:00 pm

I'm getting exactly the same thing! I'm running the XSPF Player Plugin version 3.3a on Wordpress version 2.3.1.
<<

boriel

Site Admin

Posts: 1158

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Thu Nov 01, 2007 10:15 am

I'm still under 2.3. I will upgrade to 2.3.1 ASAP and check this issue before investigating further. :?:
<<

boriel

Site Admin

Posts: 1158

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Thu Nov 01, 2007 2:15 pm

Ok. I've upgraded to WP 2.3.1 and my plugin installation works flawlessly. :)
So your problem must be related to your server installation.

Is this the 1st time you use the plugin, or it already worked for previos WP versions?

Usually the problem you are reporting is due the web server not allowing php scripts to use the ob functions.

Create a php test file in your server, like test.php, and put the sample code:
  Code:
<?php

function callback($buffer)
{
  // replace all the apples with oranges
  return (str_replace("apples", "oranges", $buffer));
}

ob_start("callback");

?>
<html>
<body>
<p>It's like comparing apples to oranges.</p>
</body>
</html>
<?php

ob_end_flush();

?>

And check that the page returns the HTML output:
  Code:
<html>
<body>
<p>It's like comparing oranges to oranges.</p>
</body>
</html>
<<

folkbot

Posts: 4

Joined: Tue Oct 30, 2007 9:06 pm

Post Thu Nov 01, 2007 3:47 pm

cool thanks.
<<

boriel

Site Admin

Posts: 1158

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Thu Nov 01, 2007 8:02 pm

There's only on call to ob_start() (line #1275) and it's a reminiscence of the past. I think I can remove it. Once I have removed this function, I will release a new version.

Please be patient (maybe 1 or 2 days).
<<

motmot

Posts: 4

Joined: Wed Oct 31, 2007 10:57 pm

Post Thu Nov 01, 2007 10:17 pm

Thanks for the test - I tried this, and the sample page you suggested worked correctly (see http://claywell.me.uk/tom/test.php).

I checked, and I've still got the same problem happening: I just get _start() when I publish the post.
<<

boriel

Site Admin

Posts: 1158

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Sat Nov 03, 2007 3:39 pm

I forgot to mention that, you must be the admin user (or have the admin role) in your blog to insert the player within a post or page. This is due to security reasons.

If you insert the XSPF _start() tag without being admin, it will be ignored and leaved as is.

Can you try to insert it as admin user?
If you want other user than admin to be able to insert the player in a post, go to the User management panel and assign him/her the Admin Role.
<<

motmot

Posts: 4

Joined: Wed Oct 31, 2007 10:57 pm

Post Sun Nov 04, 2007 9:42 pm

Sorry, writing the post as Admin doesn't help: http://claywell.me.uk/tom/blog/?p=47

Would more information about my Wordpress build help you?

Also, folkbot, if you're reading this thread, were your problems solved?
<<

boriel

Site Admin

Posts: 1158

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Mon Nov 05, 2007 8:31 am

Yes, please. Tell me which plugins you have installed into your WP.
Also try disabling them and create a new post using XSPF.

It might be due to another plugin. If so, this will help us to determine which one is causing trouble.
<<

motmot

Posts: 4

Joined: Wed Oct 31, 2007 10:57 pm

Post Mon Nov 05, 2007 8:54 am

I've got Akismet 2.0.2, Hello Dolly 1.5, and Xspf_player 3.3a available, of which only Akismet and Xspf_player were activated. I deactivated them, logged out, logged in again as admin, activated Xspf_player only, then tried to post - and it's still not working! http://claywell.me.uk/tom/blog/?p=48

This really seems rather odd.

Could you nominate another plugin that works along the same lines as XSPF Player (i.e. is called using a tag in square brackets) so that I can see if that one works? I'm a bit of a Wordpress newbie.

Tom
<<

Rober

Posts: 2

Joined: Sat Mar 01, 2008 11:15 pm

Post Sat Mar 01, 2008 11:45 pm

XSPF Player Plugin installation

Hi every body, I'm new in this, and I can't make to show up it in my page. I use wp (the last version), if someone can tell me which files i need update, I will appreciate it.

Thanks!!

Roberto
<<

Flash

Posts: 1

Joined: Sun Mar 16, 2008 3:03 pm

Location: Fort Collins, CO

Post Wed Mar 26, 2008 3:56 pm

I was having the same problem and I have a plethora of plugin installed. WordPress is now no longer stripping out the <> or [] tags.

What I did was deactivate all plugins. Install current (3.4a) version of XSPF then reactivate my plugins one at a time while each time editing the page with the player code to see if the tags would get stripped out again. So far so good. The players is in and working AND I was able to re-activate all my plugins too.

Go figure...
<<

irie

Posts: 1

Joined: Tue May 13, 2008 11:52 pm

Post Wed May 14, 2008 12:04 am

hi!

i've got the same problem that the player is not showing up in posts. which is not sooo bad because i want it in the sidebar. i suceeded in putting the button-version into the sidebar, but unfortunately it wont play. i used this code:

<?php xspf_player::start(); ?>


as well as all other thinkable combinations:

<?php xspf_player::start('playlistname'); ?>

copied from the wiki

<?php xspf_player::start('background'); ?>

name of my playlist

<?php xspf_player::start('1'); ?>

ID of my playlist

i can see and click the button, the animated graphic changes to the funny rotating circle, but nothing happens.

i tried more or less everything. i have admin rights. i have songs uploaded and added in xspf-dialog. tried to play playlists as well as single tracks. i defined playlists (categories). i made a track order inside the playlist.

everything works and looks quite well, but there is no sound. and, btw, the config menu where i select the look of the player turns up only sometimes. most time i only see the dialog for managing my songs.

im using wp Version 2.5.1 DE-Edition, no other plugins running, & xspf_player 3.4a

http://blacksheepsoundsystem.de

thank you!
<<

boriel

Site Admin

Posts: 1158

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Mon May 19, 2008 10:45 pm

irie wrote:hi!

i've got the same problem that the player is not showing up in posts. which is not sooo bad because i want it in the sidebar. i suceeded in putting the button-version into the sidebar, but unfortunately it wont play. i used this code:

<?php xspf_player::start(); ?>


First of all, the above is right and should work ok.
But I've also noticed two things:
Next

Return to XSPF Player Plugin (English)

Who is online

Users browsing this forum: No registered users and 0 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.

phpBB SEO