Hi
I have two requests:
- for the 1pixel out player you're linking to a I'd say old version. The new version has the feature to regulate the volume. You could link to http://wpaudioplayer.com/download
- In addition e.g. the drupal mp3 module has the feature to tell the 1 pixel out player that it should open and close when you play a song (you know I'd like to have just a fixed player that doesnt move. when clicking on play)

Many thanks.

Comments

webflo’s picture

You can use flashvars to disable the player-animation

print swf('yourfile.mp3' array('flashvars' => array('animation' => 'no')));

chrisfromredfin’s picture

also, if you use the SWFObject2 embedding method it will auto-stop-start the players if there's multiple on a page

chris_bbg888’s picture

Category: task » support

thanks guys.
as I'm a bit stupid and working with drupal just for a few weeks I'm not shure where to enter flashvars code. in the administration settings for swf tool there is no filed for flashvars.....if i have to enter that in a file/code maybe you can let me know in which file and where exactly.....
many thanks

ARray’s picture

also, if you use the SWFObject2 embedding method it will auto-stop-start the players if there's multiple on a page

It does not work for me.
All players on a page can play at the same time :(
Does it work for you?

mike15’s picture

I'm also in the same boat as @ARray. If someone could explain how to chain multiple "1 pixel out" players on the same page to prevent song collapsing, it would be greatly appreciated!

Thanks in advance,
Mike

chrisfromredfin’s picture

Works for me. When you 'view-source' of your page, each player should have a different ID attribute. That's how it works. Note that if you're displaying the exact same player (same ID) multiple times, this won't work. Check that there's ID attributes on each of your players; if not, then it's probably not using SWFObject2 to embed (since that's what assigns the ID's I think).

mike15’s picture

I've checked my source code and everything seems to match to what you were saying yet the players work independently from each other:

<div class="content"><div class="swftools-wrapper onepixelout"><div id="swfobject2-id-12495805111" class="swftools swfobject2">

"playerID": "12495805111"
"playerID": "12495805112"
Stuart Greenfield’s picture

You're right - there is a newer version of OnePixelOut, but it looks like it got stuck at beta. The beta 6 release was nearly a year ago.

Out of curiosity I have tried making a new version of the module to support the new player. It's not fully functional yet, and the multiple player interaction isn't working, but the basic player is in and can handle lists. The width setting isn't working either just yet.

I'll actually back port the multiple file capability at some point as I remember reading a while back that the original player can support this, although you don't get navigation controls. The idea was you could precede, or end, a podcost with a standard intro or advert.

hedac’s picture

actually... I'm trying the JW Media player 4 with single mp3 files... and the auto-stop-start feature for multiple instances doesn't work either. different id's.
I know this is not about 1pixelout.. but I didn't want to open a new issue for this.

yt2s’s picture

Using swftools 6.x-2.5, swfobject_2_2, 1pixelout audio-player.2.0.2, all config'd per docs (unless I missed something), with multiple players on a page, each with unique ID's: Still the players will play simultaneously.

What should I do?

Just realized this post would be a better place for this question.
1pixelout should play one MP3 at a time, and not simultaneously

Stuart Greenfield’s picture

Category: support » feature

Changing this thread to capture feature request for OnePixelOut (or WordPress audio player) version 2.

The thread linked in post #10 is the right place to post things relating to the player stop / collapse feature not working properly [I am aware of this issue, and have a potential fix coming in the new release I'm working up]

Stuart Greenfield’s picture

Version: 6.x-2.5 » 6.x-3.x-dev
Assigned: chris_bbg888 » Unassigned

Work started on support for WordPress audio player. Basic module committed on DRUPAL-6--3. Admin page isn't working yet, but basically player functionality is there and it plays a list of audio files correctly.

Support for title and artists strings not yet in place.

Highlighted a few legacy issues with SWF Tools core too, so found some more optimisations!

Stuart Greenfield’s picture

Stuart Greenfield’s picture

Support for titles now done, and JavaScript to auto-close players is working (under SWF Object 2 only in all browsers, doesn't work for direct embedding - will pursue further later...)

Settings page still to be done.

Work so far committed on DRUPAL-6--3 and is functional for testing.

Stuart Greenfield’s picture

Status: Active » Needs review

All done. Support for WordPress audio is in place. Auto close behavior should now be working, but test reports welcome! Committed on DRUPAL-6--3 pending the 6.x-3.x release.

Module supports playlists, has accessible controls, and is generally running pretty well here...

Setting to needs review - you can access the development package from the "All releases" link on the project page.

chrisfromredfin’s picture

Status: Needs review » Needs work

I took the standard upgrade route - drush dl'd the 3.x-dev version over my 2.x version, ran drush updatedb and got all the updates. Went to view a node that has a flash player, got:

Fatal error: Call to undefined function swftools_get_player_path() in /var/www/photomatters.org/sites/all/modules/swftools/swfobject2/swfobject2.module on line 44

I may have mis-upgraded? Should I not be using swfobject2?

chrisfromredfin’s picture

Status: Needs work » Needs review

Nevermind, that was my problem. Installing 3.x-dev OVER the 2.x version caused two version of modules, paths to/use of old code, etc. I completely removed the swftools folder and re-downloaded 3.x-dev clean and everything works much better now. Setting back to needs review.

Stuart Greenfield’s picture

I raised an issue to act as a reminder that upgrading this time is a little more complicated!

#745050: Create upgrade instructions for 6.x-2.x to 6.x-3.x

JanSmoot’s picture

I am a new user to Audio Player 2.0. Have it working fine for one song, but thought the player could play multiple songs. How do I do this? I don't want multiple instances of the player on my page. I want to randomly play one of five songs. Any help?
Thanks so much.

Stuart Greenfield’s picture

It depends how you are adding the player to the page.

If you use the basic input filter then you always get the files in the same order from [swf files="first.mp3&&second.mp3&&third.mp3&&fourth.mp3&&fifth.mp3"]

If you use PHP then you could generate a random list by calling the swf() function.

Or, and I just tried this, you could use the new Views feature to create a View that generates a random selection of five.

So your question is a good one - the Views feature is brand new, and before that you would have had no choice but to use PHP. Now you can do it without a single line of code.

Basically you create a view that renders a playlist to SWF Tools, but you set the sort criteria to Global: Random.

I have WordPress audio playing a random selection of five as I type!

+1 for the new Views capability :-)

JanSmoot’s picture

As I said, I am new to Audio Player. The tutorial says to identify the song mp3 with soundFile=http://www.mysite.com/audio/music.mp3 Good to go there for one file.

You identify... [swf files="first.mp3&&second.mp3&&third.mp3&&fourth.mp3&&fifth.mp3"] Where/how do I use this?

You also mention SWF TOOLS? I found www.swftools.org. Do I need to download this?

What is Views? How do I use it? My player is on a website, not on wordpress.

Stuart Greenfield’s picture

"The tutorial says" - which tutorial are you referring to?

[swf files="first.mp3&&second.mp3&&third.mp3&&fourth.mp3&&fifth.mp3"] is referring to the input filter that SWF Tools creates - see the documentation.

"You also mention SWF TOOLS?" You have posted in the SWF Tools issue queue for Drupal! That's SWF Tools!!

"What is Views? How do I use it? My player is on a website, not on wordpress." I don't mean to ask the obvious - but you are using a Drupal website aren't you? This issue queue is for the SWF Tools module which is about embedding flash in to a Drupal site. It's not for the WordPress audio player in general (sorry if I misunderstood here!)

JanSmoot’s picture

Tutorial for Audio Player 2.0 at http://www.macloo.com/examples/audio_player/options.html

This is the only place on the web I found any discussion of Audio Player, thus my question. I am not doing a Drupal website, just a regular old site. So maybe this is out of my realm. But, now you have a nice randomized audio player! Although I do not. Maybe I need to check into Drupal....

Thanks a lot.

Stuart Greenfield’s picture

I did wonder!

You still set a flashvar called soundFile, but for multiple files you simply make that a string of names separated by commas, so soundFile=first.mp3,second.mp3,third.mp3.

If you want to randomise it then whatever you are using to build your code just has to shuffle up the files and then build a string. Exactly how you do that depends on the code that you are using.

You might want to check out http://wpaudioplayer.com/standalone. That's the official WordPress audio page for the newer WordPress player (that replaces the original OnePixelOut one)

JanSmoot’s picture

Stuart,
Thanks so much. I tried everything but commas! Randomizing is the last thing on the list.

SchnWalter’s picture

regarding the first request: for the 1pixel out player you're linking to a I'd say old version. The new version has the feature to regulate the volume.

you can check: #659234: Can 1 Pixel Out be set to non-minimized?

P.S. the newer version, 1 Pixel Out MP3 Player v2 has an option for those who want a 'non-minimized' version of the player... so i posted an update/modification there

EDIT: now i see that the second request is also solved by updating the module.
EDIT2: WordPres Player subModule in swftools-3.x is the new version "1 Pixel Out"

SchnWalter’s picture

Status: Needs review » Fixed
SchnWalter’s picture

Status: Fixed » Needs review

sorry... it needs review, since the v3 is not out yet