Forum Moderators: open

Message Too Old, No Replies

how to create a audio only player?

         

creatica

1:25 pm on Feb 14, 2006 (gmt 0)

10+ Year Member



I want to embed a flash movie in my website that streams mp3 (no video, audio only) with a play button and a stop button.

I'm a hopeless flash newbie, who can't find the easy way to do this in flash 8 and doesn't know much about action script.

Can anyone point me in the right direction?

Richard_N

6:24 pm on Feb 14, 2006 (gmt 0)



do a search in this forum, i supplied the code a while ago.

BlobFisk

10:35 am on Feb 15, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is this the post you mean Richard_N:

[webmasterworld.com...]

Richard_N

8:04 pm on Feb 15, 2006 (gmt 0)



Thats the one, had flu and could not be bothered to look it up :-)

WebNeel

6:37 pm on Feb 16, 2006 (gmt 0)

10+ Year Member



Creatica may give this a try,will have to go for some free software downloads.And the process consists of some steps also.First download the trial version of "SWF Automation Tool".And if you are with a host that put a file size limit,then download the trial version of "DietMP3".Google for both one (as I'm not supposed to put the direct links to the websites here,I think).

OK,now let's get into the steps of the process :

1) If you have size bar,then pass your mp3 file through Diet,change the output quality to FM Radio Quality.This will make the file size reduced,upto a good extent.(your sound file will be hereinafter reffered to as 'sound'.)

2) Now it comes to the main process,that is converting the mp3 to .swf format.Pass 'sound' through the SWF Automation Tool,you may reffer to the help section of the software for operational instructions,however a little love towards exploring softwares will make you enough for the go.The out put will be in swf format,making the file 'sound.swf'

3) Upload the song.swf to your site's parent dir.

4) Now you will have to put the code below in the desired page where you wish to make the thing happen :

<EMBED SRC="http://www.yoursite.com/sound.swf" AUTOSTART="true" LOOP="true" HIDDEN="false" WIDTH="145" HEIGHT="30"></embed>

(Replace 'yoursite' with your site's name.)

Hope you will be able to revive your hope with this ,at this level of yours.
I'm not confirmed that whether moderators will allow this post or not,as this contains names of some softwares.If negative ,may contact me by mail for the details.

Happy Coding to All of You.

Richard_N

7:36 pm on Feb 16, 2006 (gmt 0)



why bother, the code I supplied is a lot simpler and requires only an mp3 and a tiny flash file, whats the advantage of this method?

creatica

11:38 pm on Feb 16, 2006 (gmt 0)

10+ Year Member



Thanks Richard_N, thats exactly what I need.

WebNeel

2:12 pm on Feb 17, 2006 (gmt 0)

10+ Year Member



Dear Richard,I've also gone through your code and that's simply awesome.Still I posted this method just for the webmasters new in the field ,and who are with free web-hosts.There are some limitations and restrictions in most cases in uploading mp3 directly,and file-size.For that reason only.

flashfever2nd

5:15 pm on Feb 28, 2006 (gmt 0)

10+ Year Member



Thanks to Richard,i have the same doubt.