TinyPortal

Development => Support => Topic started by: mkabwilliams on October 05, 2006, 06:00:45 PM

Title: MP3 in a Article
Post by: mkabwilliams on October 05, 2006, 06:00:45 PM
I have a MP3 that I want to put in a Artical so users can play it from my site. How would one do this?
Title: Re: MP3 in a Article
Post by: IchBin on October 05, 2006, 07:31:35 PM
You can use a streaming block or something (check the block code snippets board for more info), or you can just post a link to the file and let them play it.
Title: Re: MP3 in a Article
Post by: Crip on October 05, 2006, 07:34:05 PM
Works better in Jscript-popup window..that way it doesn't get reloaded with each page klick.
Title: Re: MP3 in a Article
Post by: mkabwilliams on October 05, 2006, 08:13:56 PM
Due to the fact I'm not a real web designer could you give me a little more direction?
Title: Re: MP3 in a Article
Post by: akulion on October 05, 2006, 08:53:47 PM
try using this http://www.jeroenwijering.com/?item=Flash_MP3_Player

that mp3 player can be customized to show only 1 mp3 as well

ull have to read all the instructions on their page to get it up and running :up:

dont worry its not that hard
Title: Re: MP3 in a Article
Post by: Lesmond on October 05, 2006, 09:40:25 PM
you could try this, then you can place it anywhere in the page

<embed src="yourmusic.mp3"
width="140" height="40" autostart="false" loop="FALSE">
</embed>


To make the music play automatically the parameter is Autostart="TRUE"
You can put "FALSE" instead of "TRUE" so the person visiting your page will have to click on the play button for it to start.

Title: Re: MP3 in a Article
Post by: Lesmond on October 05, 2006, 10:05:03 PM
Heres (http://www.lesmonds.co.uk/smf/index.php?page=28) is a demo
Title: Re: MP3 in a Article
Post by: mkabwilliams on October 06, 2006, 12:03:59 AM
Lesmond
Do i have to install anything to do that?
Title: Re: MP3 in a Article
Post by: Lesmond on October 06, 2006, 12:22:12 AM
no just add the mp3. what I did was create a folder in my Forum directory i.e /smf/music/ and added the mp3 to it. with this bit src="yourmusic.mp3" I had to put the full path to the mp3

so it looks like this
<embed src="http://www.mysite.co.uk/smf/music/your.mp3"
width="140" height="40" autostart="false" loop="FALSE">
</embed>


Title: Re: MP3 in a Article
Post by: akulion on October 06, 2006, 12:26:07 AM
its a good quick method :up:

thanks for sharin
Title: Re: MP3 in a Article
Post by: softtouch_ph on February 19, 2007, 06:20:47 AM
Does it stream the mp3? Here, it first download it, and start playback once its complete.