Adding a stream button for any mp3 here at F-Jam

Post new topic   Reply to topic

View previous topic View next topic Go down

Re: Adding a stream button for any mp3 here at F-Jam

Post by stonehead on Fri Jul 18, 2008 3:03 pm

cool

stonehead
F-Jam Booster
F-Jam Booster

GeminiRat
Posts : 197
Joined : 01 Apr 2008
Age : 48
Location : England
About my talents : Instruments I play=Drums,Programming...Plus some Guitar,Bass & Vocals

Back to top Go down

Adding a stream button for any mp3 here at F-Jam

Post by F-Jam Alert on Fri Jul 18, 2008 2:59 pm

Ok so you uploaded an mp3 here and you'd like to make it stream as well as make it downloadable. Here is the information you need to do this:

First let's start with an example of a streamed mp3. If you click this player you will hear Paulo's current project streamed . If you know the direct link to the mp3, you could just post the link and let people download it. The direct link to his mp3 is as follows: http://fjam.servemp3.com/in_process/No_Name_Rock_Tune/Latest_Mix.mp3 . That is the same file that streamed in the player above. If you right click on that player, there is a download option and if you click it it opens this very link for download.

The player that is used for this is called musicplayer.swf , and it can be found at http://fjam.servemp3.com/in_process/musicplayer.swf . This same player can be used to stream ANY mp3 that you know the direct link to. You just need to know how to link the player and the mp3 together in a command line. The little piece of code that is used between these two things (the player and the mp3), so that they work together is "?song_url=" not including the quotation marks. Without the quotes it is ?song_url= .

So we have the link to the player ( http://fjam.servemp3.com/in_process/musicplayer.swf ), then the ?song_url= then the link to the mp3 ( http://fjam.servemp3.com/in_process/No_Name_Rock_Tune/Latest_Mix.mp3 ).

Ok to recap it is link to player ?song_url= link to mp3. It would be entered like this:
Code:
http://fjam.servemp3.com/in_process/musicplayer.swf?song_url=http://fjam.servemp3.com/in_process/No_Name_Rock_Tune/Latest_Mix.mp3


You can use that link in any html, and it should play. To put that player into this message I used the FLASH tag at the top of the editor. I clicked the red F, pasted in the above code, and used 20 x 20 pixels and then said ok, and it entered the code into this message. The player worked when I previewed the message. Then I saved the message. it is actually very easy to use... I think you could use that player with ANY mp3 that you know the direct link to.

F-Jam Alert
Admin

Posts : 176
Joined : 30 Mar 2008
About my talents : Instruments I play= drums mainly, then harmonica, keys, bass, vocals

Back to top Go down

View previous topic View next topic Back to top


Permissions of this forum:
You cannot reply to topics in this forum