Hello, I am trying to insert the nice 1 pixel out MP3 player.
On the page admin/media/swf/handling, under the "File Handling / Default player for .mp3 files" menu, I see that the 1 Pixel Out MP3 Player is "Missing".
But I can see that the player is activated in the modules page and on this page too: admin/media/swf.
Any idea of why the player is announced "missing"?

Comments

tanoshimi’s picture

Where have you got 1pixelout installed?
These should be in a directory called 1pixelout-audio-player in the swftools shared directory, so for instance, there should be a path to \swftools\shared\1pixelout-audio-player\audio-player.php

Does that help?

BobLouis’s picture

Thank you for your response.
I actually tried it, but it did not work.
Then I tried to follow the instructions given in the README.TXT file located in "swftools/shared/"
It says

"inside the "shared" directory, the paths to the player file are not configurable.
swftools/
shared/
1pixelout/player.swf"

So I copied player.swf in the right folder: the player is not "missing" anymore.
Then I inserted this code in my page :
[audio:song.mp3].
=> no player displayed, but "[audio:name_of_mp3_file.mp3]" alone written on the page.

Then I tried this code :
<swf file="song.mp3"> with nothing being displayed.

What seems to be the problem here?

tanoshimi’s picture

Check that your node is set to use the input format 'php code'.

Then try writing the following in the node:

<?php
print swf('http://full-path-to-your-song.mp3');
?>

Does this help at all?

BobLouis’s picture

Thank you very much, it works just fine now!

sime’s picture

Status: Active » Fixed

There does seem to be difficulty configuring the input formats. I'll close this thread as there are other threads address that problem.

Anonymous’s picture

Status: Fixed » Closed (fixed)
ullmannn’s picture

I was able to get the "missing' to disappear, similar to the question above. However, the onepixelout player shows up completely black on a content page. I have changed the hex color settings several times. The player actually works, you just can't see any of the buttons. I am not quite sure what is causing this.

http://writing.msu.edu/drupal5/?q=node/113

ullmannn’s picture

Version: 5.x-1.1 » 5.x-2.1
Status: Closed (fixed) » Active

Update:

On a whim, I took out the "#" marks from the Hex color codes. That somewhat worked. Now I get blue and black color. So you can read the player, but certainly not the colors I chose.

Any ideas?

Stuart Greenfield’s picture

Rather than using # try using 0x.

I looked at your test page and tried it locally initially got black colours too!

But if I try, for example, rightbg="0x99cc99" I get a nice pale green background.

The 1 Pixel Out documentation gives examples of how to set the colour scheme. Although it is written for the WordPress plug in the available options are the same.

Let me know if this works!

Stuart Greenfield’s picture

Status: Active » Fixed

Colour settings are now properly described on the configuration pages and the format 0xRRGGBB should be used.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

Rhino’s picture

Thanks Stuart, your comment helped me. My one pixel out player went from understanding the #f9f0ce colors to making it all black quite suddenly. I was confused until I tried your green.

mwangi’s picture

what worked for me was creating a 1pixelout folder under swftools/shared.