borgqueenx Posted July 1, 2006 Share Posted July 1, 2006 I want to add an midi tone in a php code file, how?And i want to loop the music file. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted July 1, 2006 Share Posted July 1, 2006 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. Quote Link to comment Share on other sites More sharing options...
X.Cyclop Posted July 2, 2006 Share Posted July 2, 2006 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. ;) Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted July 7, 2006 Share Posted July 7, 2006 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.