Jump to content

Archived

This topic is now archived and is closed to further replies.

borgqueenx

Add mUsic

Recommended Posts

You cant do this with PHP. You have to use HTML. Look into the embed tag.

Also I am moving this to the HTML Help Forum.

Share this post


Link to post
Share on other sites
With Windows Media Player:

[code]<object CLASSID="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" NAME="MC1" ID="MC1" height="204" width="480" bbclient="1">
  <param NAME="FileName"
VALUE="file.midi">
  <param NAME="AutoStart" VALUE="True">
  <param NAME="ShowStatusBar" VALUE="True">
  <param NAME="ShowGotoBar" VALUE="False">
  <param NAME="TransparentAtStart" VALUE="True">
  <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows/windowsmedia/en/Download/default.asp?tcode=9#location2"
src="file.midi" name="MC1" height="204" width="480" AutoStart="True" ShowStatusBar="True" ShowGotoBar="Talse" TransparentAtStart="true" bbclient="0">
<noembed></noembed></object>[/code]
[b]<object> [/b]is for Internet Explorer.
[b]<embed>[/b] is for Netscape/Firefox. ;)

Share this post


Link to post
Share on other sites
If you are going to add background music on your website, make sure you can turn it off, because I believe many people, like myself, find it extremely annoying.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.