PDA

View Full Version : MP3 Footer / MP3 Player


Weapon-x
16 Dec 2006, 14:46
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 (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=134113)

Dante_elitE
16 Dec 2006, 15:16
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
16 Dec 2006, 15:20
please put instructions in a text file and add it to the zip

basilrath
16 Dec 2006, 15:29
any screenshots?

Weapon-x
16 Dec 2006, 15:49
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
16 Dec 2006, 16:37
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
16 Dec 2006, 16:45
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
16 Dec 2006, 21:59
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
17 Dec 2006, 21:38
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
19 Dec 2006, 12:49
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
20 Dec 2006, 17:39
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
20 Dec 2006, 19:25
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
20 Dec 2006, 19:56
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
23 Dec 2006, 13:28
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
31 Dec 2006, 16:10
Any reply from the OP? :knockedout:

nebu
03 Jan 2007, 22:46
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
13 Jan 2007, 12:18
Programs needed: Macromedia Flash Professional 8

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

Cagonni
23 Jan 2007, 02:32
@raja811

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

Dotara
27 Jun 2007, 12:26
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
27 Jun 2007, 15:42
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.