Sunday, December 21, 2008

Add comment to forum with an auto playing audio file

This code will allow you to publish comment on web sites with auto playing audio file (working with FireFox and Internet Explorer as well)
1) Copy the following code to you comment
2) Find and replace the url of the audio file (you'll find it by searching for the string "pod.icast.co.il")
3) Many forums use the tag [CODE] to declare that from now on the next text is code, if you don't need it delete the first and the last row

[CODE]
<!-- firefox--by dj bentzy>
</object>
<p align="left">
<object id="MediaPlayer" width=320 height=50 classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95"
standby="Loading Windows Media Player components..."
type="application/x-oleobject"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112"
align="middle">

<param name="filename" value="http://pod.icast.co.il/694bdb28-8d69-4c84-b31f-f582a26a6d98.icast.mp3">
<param name="Showcontrols" value="True">
<param name="autoStart" value="True">
<param name="ShowStatusBar" value="True">
<!-- firefox--by dj bentzy>
<!--BEGIN PLUG-IN HTML FOR FIREFOX-->
<embed type="application/x-mplayer2"
pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/"
src="http://pod.icast.co.il/694bdb28-8d69-4c84-b31f-f582a26a6d98.icast.mp3" align="middle"
width=300
height=63
defaultframe="rightFrame"
showstatusbar=true>

</embed>
<!-- END PLUG-IN HTML FOR FIREFOX-->
</object>
<!-- END GENERIC ALL BROWSER FRIENDLY HTML FOR WINDOWS MEDIA PLAYER -->
[/CODE]


Nir

No comments:

Post a Comment