Internet for Beginners/my website thing....
Expert: Corey Bryant - 10/23/2004
Questionhi!
i am very extremely frustrated because i have an account on xanga (www.xanga.com) and i want music on my site and i think i know how but i dont know where to get music urls for the stupid code. i was wondering is it possible to put music on my site off MY computer? and if so can you tell me how? and if not do you know where to get urls for music?
thank you!
~~levi.
AnswerThe URL to the music file is just the path to the site. Something like:
http://www.yourdomain.com/nameoffile.wma - I am not too familiar with Xanga so I do not know if they allow music. Some places do not because it eats up a lot of bandwidth.
This is the code that I have used before to embed a player into an HTML file:
<object id="MediaPlayer" width=320 height=286
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
standby="Loading Microsoft® Windows® Media Player components..."
type="application/x-oleobject"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
<PARAM NAME="filename" VALUE="interview_fox_video.asx">
<PARAM NAME="autoStart" VALUE="true"> <PARAM NAME="showControls" VALUE="true">
<param name="ShowStatusBar" value="true"> <PARAM NAME="Autorewind" VALUE="true">
<PARAM NAME="ShowDisplay" VALUE="false">
<EMBED SRC="interview_fox_video.asx" WIDTH=320 HEIGHT=286 type="application/x-mplayer2" name=MediaPlayer autostart=1 showcontrols=0 showstatusbar=1 autorewind=1 showdisplay=0>
</EMBED></OBJECT>
You will see the source (interview_fox_video.asx) in two places. You just replace that to the path of your music file. If the HTML page is in the same folder with your music file, it would just be the name of the music file
-Corey