PDA

View Full Version : MP3 Footer / MP3 Player


Weapon-x
12-15-2006, 10:00 PM
Alright I have made a Flash Driven MP3 Player for your forums.

First Off Open vba_mp3_player.fla from your .zip file
Once open, Click once on the "White Circle" to select it, Then press F9 to open the Actions Panel.
(WHITE CIRCLE IS LOCATED TO THE LEFT OF THE STAGE)


Now,
Locate this code:

/////////////////////////////////////Song List array
songList = new Array(
"Broken.mp3",
"Flowers.mp3",
"Walls.mp3",
"Shine.mp3"
);

/////////////////////////////////////Song List Description
/////////////////////////////////////////////////////Array
songDesc = new Array(
"Broken",
"Flowers and Cages",
"The Walls",
"Shine"
You need to change the .mp3 with the name of the mp3 you want to play. For example say you don't want to play "Broken.mp3" then you could upload the song "LongView.mp3" so change Broken to LongView.

Second under "Song List Description" you need to change the Title of the Song. The song titles are in the order of the .mp3 listed.

Once you have edited your song for your users to listen to then go to File > Export > Export Movie. In the file name put "mp3player" hit Save. Then check "Protect From Import" and hit OK.

Now some template changes.
Go to Admin Control Panel > Styles and Templates > Style Manager > << YOUR THEME >> > footer

At the very end of that code add:

<center>
<embed src="http://www.yoursite.com/mp3player.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="340" height="21.5"></embed>
</center>
Make sure you upload your music files into your root directory where your .swf file is located at!


Upload > mp3player.swf to main root.
Upload > music files your mp3player needs to read in the SAME directory as your mp3player.swf

Programs needed: Macromedia Flash Professional 8
If you need any support please post it:

ADDED: vba_mp3_auto_off_1.0.0.zip
Q: What is it?
A: It will not automatically load the music your user must hit "play" before it downloads the music. Thus saving bandwidth.


INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=134113)

Dante_elitE
12-16-2006, 02:16 PM
Very interesting, I go to test in my forum. It would have as you to postar some images to be able to see as will be?

yoyoyoyo
12-16-2006, 02:20 PM
please put instructions in a text file and add it to the zip

basilrath
12-16-2006, 02:29 PM
any screenshots?

Weapon-x
12-16-2006, 02:49 PM
Please redownload the .fla file because I have updated it to version 1.0.0 due to a error in the system. Plus I had added screen shots.

TheBlackPoet
12-16-2006, 03:37 PM
i did everything.. and the player plays fine when i point to it through my browser.. but wheni put it in my footer.. there is no sound.. the player shows, but no sound.. pushed play... no sound.. stopped, then pushed play.. no sound...

Weapon-x
12-16-2006, 03:45 PM
i did everything.. and the player plays fine when i point to it through my browser.. but wheni put it in my footer.. there is no sound.. the player shows, but no sound.. pushed play... no sound.. stopped, then pushed play.. no sound...

http://www.theblackpoet.com/forum/songlist/jazz.swf
Try putting your mp3player.swf in your root. Like yoursite.com/mp3player.swf

And your music in the same directory.
Once that you can either add it under your header or footer. And it should find the music and play. If not I'll look more into it.

TheBlackPoet
12-16-2006, 08:59 PM
that worked perfectly... i was almost ready to give up... but.... success!!!! thanks for the great hack!!

I hate to sound unappreciative, but, is there a way to make this player global? so, as my members move from page to page, the tracks continue to play?
if this is not possible... its all good!!

Dark Riku
12-17-2006, 08:38 PM
If there was a way to make it so you can continue playing while going to other pages I'd use this in a heart beat

Weapon-x
12-19-2006, 11:49 AM
If there was a way to make it so you can continue playing while going to other pages I'd use this in a heart beat
Like when it playing and say someone clicks on a forum it will load the music and continue to play?

RockForums
12-20-2006, 04:39 PM
Like when it playing and say someone clicks on a forum it will load the music and continue to play?

I'm presuming that's what they mean. If you could do that, I would definately use it :)

Weapon-x
12-20-2006, 06:25 PM
See that's the thing. I know of an option that would be. You click a button and it will launch the "Music Player POP Up" And that would be another page. But I'll see about programming it to stop when a page is reloaded or changed and continue after reload or change.

RockForums
12-20-2006, 06:56 PM
Will the music automatically start, or will the the person browsing the forum be able to turn it on and off?

Also, is it possible so there is a different song for different sections? (I have a music forum, thus meaning I could set say, Iron Maiden for "Old school rock" and Green Day for "Pop Rock".)

Mupetz
12-23-2006, 12:28 PM
I'm presuming that's what they mean. If you could do that, I would definately use it :)
Yep , me 2.
I use it already, thank you btw , but it will be better that way :)

RockForums
12-31-2006, 03:10 PM
Any reply from the OP? :knockedout:

nebu
01-03-2007, 09:46 PM
Hi!
I have installed the mod, works great.
bix thx!

But i want that only users who are logged in can see and play the mp3 songs.
actually its also displayed in the login screen.

raja811
01-13-2007, 11:18 AM
Programs needed: Macromedia Flash Professional 8

if not flash pro8 in user computer ,can't they hear mp3?????

Cagonni
01-23-2007, 01:32 AM
@raja811

i think flash need for editing the .fla file..

Dotara
06-27-2007, 11:26 AM
Try putting your mp3player.swf in your root. Like yoursite.com/mp3player.swf

And your music in the same directory.
Once that you can either add it under your header or footer. And it should find the music and play. If not I'll look more into it.

Hello,

Same here. Did everything correctly but player is not working/no sound on FireFox. Here is my forum's link http://www.dotara.net and here is the playerhttp://www.dotara.net/mp3player.swf

Dotara
06-27-2007, 02:42 PM
Also is it possible to change the silver BG color of the player to white to match my board's color? You can check the attachment to understand.