PDA

View Full Version : Put My Voice On Website



yipee
01-03-2004, 05:05 AM
I know how to record a voice in mp3,
but how to post it on the website ?

so that when people click on the play button,
he/she can hear.

if not mistaken, the script contain the word "marcomedia"

please advise

I.am
01-03-2004, 06:08 AM
can you explain further what it means by "script contain a word macromedia?." Do you want a flash player on the site?

or
Several javascripts are out there to play wav files. Convert your mp3 to wav or just record in wav format.

Instead of writing the code myself, why dont you instead look here (http://developer.irt.org/script/191.htm). That will do the job ;)

yipee
01-04-2004, 11:30 AM
The script looks something like this :


================================================
<P align=center>&nbsp;<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="140" height="52" id="satya" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="satya.swf?thefile=15dec_1254.mp3|324" />
<param name="quality" value="high" />
<param name="bgcolor" value="#FFFFCC" />
<embed src="satya.swf?thefile=15dec_1254.mp3|324" quality="high" bgcolor="#ffffff" width="140" height="52" name="satya" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</P>
=================================================


Do you know how to modify so that it will work ?

thanks :)

Vargas
01-04-2004, 12:17 PM
well that looks like satya.swf is a shockwave mp3 player, maybe if you had a copy of it you could use that script (editing the mp3 file name of course) on your site

here is a script to use wmp:

&#60;OBJECT ID=&#34;MediaPlayer1&#34; width=160 height=40 classid=&#34;CLSID&#58;22D6F312-B0F6-11D0-94AB-0080C74C7E95&#34;
codebase=&#34;http&#58;//activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902&#34; standby=&#34;Loading Microsoft Windows Media Player components...&#34; type=&#34;application/x-oleobject&#34;&#62;
&#60;PARAM NAME=&#34;FileName&#34; VALUE=&#34;http&#58;//yourfile.mp3&#34;&#62;
&#60;PARAM NAME=&#34;animationatStart&#34; VALUE=&#34;true&#34;&#62;
&#60;PARAM NAME=&#34;transparentatStart&#34; VALUE=&#34;true&#34;&#62;
&#60;PARAM NAME=&#34;autoStart&#34; VALUE=&#34;true&#34;&#62;
&#60;PARAM NAME=&#34;showControls&#34; VALUE=&#34;true&#34;&#62;
&#60;EMBED type=&#34;application/x-mplayer2&#34; pluginspage=&#34;http&#58;//www.microsoft.com/Windows/MediaPlayer/&#34;
SRC=&#34;http&#58;//yourfile.mp3&#34; name=&#34;MediaPlayer1&#34; width=160 height=40 AutoStart=true&#62;
&#60;/EMBED&#62;&#60;/OBJECT&#62;
edit http://yourfile.mp3 to your file ^^^ (both places) to hide the media player set width=0 height=0
to make them "click it to play" set PARAM NAME="autoStart" VALUE="false"

EDIT: i cleaned up the code some and made a Example Page (http://myimages.fourvalve.com/sparky/Dub.html) from it.

newbee
01-05-2004, 01:56 AM
your voice must be very sexy :rolleyes: