1 PixelOut Audio Player 1.5.1 released for Joomla! 1.5.x
Here is an updated version of 1pixelout audio player 1.5.1 for Joomla! 1.5.x only
Big thanks to Art Delano for rewriting part of the code to add autoplay option (per file), better SEF URL handling and option to add your own default path.
Fixes by Art Delano
- Revised the PHP file so that plugin parameters are only requested once per page. This should speed things up for pages with many audio files.
- Added an autostart option in the audio tag, eg {audio autostart}foo.mp3{/audio}. If a page has more than one audio tag with the autostart option, only the first instance will autostart.
- Removed the autostart parameter from the plugin manager page
I've now also fixed the error notice 'undefined properties... ' in PHP4
I highly recommend to upgrade to this new version. Older version will be removed after a couple of months from this date.
What is 1pixelout player? it is a flash audio player that allows you to post up mp3 files onto your site and automatically embeds an audio player to allow site visitors to stream the music. Originally a Wordpress plugin which has now been ported over by me to work with Joomla!.
This is a demo of 1pixelout player.

The track being used is by Eluvium - Prelude for Time Feelers.
Download:
![]()
See attachment below. Released date: Mar 2008
![]()
If you are running Joomla! 1.0.x then use 1pixelout player 1.2.3b
Works with web browser:
- Firefox 1/2
- IE 6/7
- Safari
- Opera
Requirements:
- Joomla! 1.5.x only
- Flash plugin
- PHP 4/5 (but only tested with PHP5)
Installation:
- Install it as a plugin
- Go to plugin manager and activate 'Content 1pixeloutplayer'
Upgrade
Uninstall the plugin using Joomla install/uninstall manager, and install this newer version.
Usage
- Create a folder called mp3 in /images/stories/ or where ever you like. This folder will be used to store and play your mp3 from. Upload your mp3 files using FTP program. If you don't want to use FTP, you could install a text editor with an upload feature for media files.
- To link to mp3 file type this in your content item (Note, a forward slash at the beginning of the path is not required): {audio}images/stories/mp3/your_mp3_file{/audio}
- It is now possible to stream mp3 hosted from an external server. To do this, just use a full URL to where the mp3 is hosted: {audio}http://domain-name.com/mp3/file_name.mp3{/audio}
- You can also change the colour of your player, see plugins manager's page for 1pixelout player.
- WARNING: PLEASE DO NOT USE BOLD on the {audio} {/audio}
- More detail about usage - see the plugin page once it is installed.
- NEW: you can now define your own default path in the parameter settings. Note: if you do, you do not need to add the path in your content. For external files not on your own server, just type in the full URL in your contents, ie, {audio}http://domain_name.com/file_to_path/your_file.mp3
---------------------------------
QUICK UPDATE (today at 12:10am): Some users were alarmed at the error they got when they installed this plugin. The error was: XML Parsing Error at 1:1. Error 4: Empty document
Please don't worry about it, the plugin will still works. If you are concerned then re-download the plugin and re-install it as i have now fixed this. It was caused by Joomla XML installer that did not ignore hidden files (ie, .DS_Store that you'll find on Mac) and tries to parse it as an XML file. I do my development on Mac and each time you archive some files into a zip file it automatically includes every file in that folder. I do hope Joomla fixes this issue as it can be annoying to look out for all the time.
---------------------------------
Any issues or questions, post in comments.
Trackback URL for this post:
| Attachment | Size | Hits | Last download |
|---|---|---|---|
| plg_onepixelout-player-v1_5_1.zip | 17.35 KB | 4853 | 44 min 5 sec ago |

Delicious
Digg
StumbleUpon
Reddit
Newsvine
Google
Technorati


As far as i know Joomla 1.5
As far as i know Joomla 1.5 has changed from previous version (1.0.x) and no longer fire content plugin as it did before which allows to render plugins in modules. So you will have to use a 3rd party module to pull the content from articles. The one that is available to do this is CustomContent module by Ian MacLennan.
This is all very strange and frustrating to say the least as the point of any plugins was to serve as an internal working of the system so should be able to hook into other plugins, modules or components if needed. However, this is not the case and it would mean having to create a whole separate module to accommodate this, just sounds silly to me.
IMPORTANT NOTICE: Please do not ask for feature requests. I have now decided not develop with Joomla due to its inflexibility and limitations. So no further work will be done with this plugin. If you want more power and control, try Drupal. There is already an audio module for drupal which uses this player.
I will be happy with someone in the Joomla community would like to take over and maintain this plugin, as long as it remains GPL.
thanks,
no track name in bar
howdy all... need some help here
for the life of me i can't find out how to get the track name to display in the bar
all examples i find have it in the bar
if anyone could help that'd be amazing!
thanks
player not working in module
Hi
I can get the player working in an article but not in a custom module. Is there anything that is preventing this happening?
Me too
yea, I need it in module, it does not work
How many can you have on 1 page
It kill my Firefox if I put too many of these on one page, I use
Joomla 1.5.2
Ubuntu 7.10
Firefox 2.0.0.13
Firefox on Windows seems to handle the page with many players better but slugish
Have to click twice on IE, I know you have a fixe for this, but does it work in Joomla ?
Great plugin by the way for a small number of players per page, thanks.
Popup
Loving the plugin, just wondering though if there is any way it could be a popup so that it doesn't reload every time the page is reloaded.
Great player - one request
After going through and testing several mp3 players, I feel like this is the best out there. There is one aspect that I'd like to customize (maybe others would too) that you could add in a future update. Make the width of the player customizable.
I'm trying to fit 3 players side by side in my content area and I'm about 50 pixels too wide. If I could slim their widths by 20 pixels each, then it would be great!
Error Message
Hi: I am getting the following error message being displayed on the webpages at the top after I install the plugin. The plugin works fine though. How do I get rid of this error message. Thanks
Notice: Trying to get property of non-object in /home/sjubc/public_html/plugins/content/1pixeloutplayer.php on line 34
If you have access to your
If you have access to your php.ini file (php config file) then change line 277 from:
display_errors = On
to
display_errors = Off
If your hosting does not allow you to access php.ini file then create a new php.ini file and put the following code into the file:
display_errors = Off
and upload this to your webroot folder. If this fail to work then you'll need to get in touch with your host provider and asked how you can override the php configuration to turn off error reporting on your site since each hosting provide may hve different ways of setting up their servers.
thanks,
Error opening file
Hi I'm trying to put a site together for a recording studio.
adress:
http://moerkvaerk.dk
I would like to use your player, however I get this error "error opening file".
SEO settings for Joomla 1.5 Legacy mode is
SEF: No ;
Apache mod rewrite: No ;
Suffix to url: No.
Path to media is:
/moerkvaerk.dk/joomla/media/mp3/hi/youth.mp3
code in article:
{audio}joomla/media/mp3/hi/Youth.mp3{/audio}
I have tried to specify the path in the settings. no difference. Any pointers? I don't mind having to do some hard work.
Great work by the way.
I had a quick look at the
I had a quick look at the paths for the player in source code on your site. This is what it looks like:
/joomla/joomla/media/mp3/hi/Youth.mp3
There was a minor issue in the plugin that i first uploaded. I only noticed that later and re-upload a new one a few hours ago. Please re-download it, sorry.
If that fails then try this:
in the default path (parameter settings) type: media/mp3/
Create a folder on your site as media, then inside media create a folder called mp3. Just like you have it and put all your mp3 files in there. Now this folder /media/mp3/ is your default root folder where the player will look for mp3 files. So in your tag you only need to add:
{audio}youth.mp3{/audio}
If you create any sub folder in your root audio folder, like folder /media/mp3/hi/
then you will need to add the folder hi in your tag if the Youth.mp3 file is in there, for example:
{audio}hi/Youth.mp3{/audio}
Remember that the plugin is searching for anything in or after the default path. If you leave your default path empty, you'll need to specify the complete path to the mp3 file you want to play. For example,
{audio}media/mp3/hi/hi/Youth.mp3{/audio}
Notice: you do not need to add a forward slash in front of your folder path.
Hope that is clear instructions. thanks,
When installing this plugin,
When installing this plugin, I get an error:
* XML Parsing Error at 1:0. Error 4: not well-formed (invalid token)
The plugin still works and the new autostart function works as well. Not sure what is causing this.
Okay, after a bit of
Okay, after a bit of investigation, it turns out that the joomla installer does not ignore any other hidden files including in a zip file and tries to parse it as an XML file as well. See: http://forum.joomla.org/viewtopic.php?t=150355#p1202770
This has now been fixed and i have re-uploaded the zip file. Either way, the plugin will still work. But if you are concerned then please re-download the same zip file.
thanks,
Ah! Sorry, i should have
Ah! Sorry, i should have mentioned this in the post. When i was testing this plugin, the error came up as well.
I've doubled check why it's causing this because it still works. However, i know i've taken all the right steps to ensure there was no error in the XML file. Joomla 1,5 seems quite particular about the encoded byte. I've now encoded it to utf-8 NO-BOM but still failed?
Please don't be alarm by the error, the plugin should still function properly.
thanks,
Pingback
[...] Duvien.com placed an interesting blog post on 1 PixelOut Audio Player 1.5.1 released for Joomla! 1.5.xHere’s a brief overview [...]
Problem with Internet Explorer
Thank you very much for your work !
It's work very well with Firefox but i have a probleme with IE...when i click play, it say " buffering" and it will nothing...
What should i do ?
Thank you to your answer !