|
hi. Hey.
If I have a song hosted on a website and have the URL for it, is there an HTML code or something to get it to play on another website of mine?
[ ] Want to answer more questions in the Miscellaneous category? Maybe give some free advice about: Fashion and Styles?
Please either register or include your email in future questions to me.
The best way is to just link directly to the file:
<a href="direct URL">link text</a>
It is also possible to embed the file into the page. This only works if the person has quicktime installed:
<embed src="direct URL" />
If you want it to play automatically, with no input from the user, do this:
<bgsound src="direct URL" />
This only works in IE, and won't work in firefox or opera. It's also incredibly annoying, so I recommend against using it, ever.
You could also use a flash player, which works better, but I'm not going to discuss that because you usually need your own server.
The "direct URL" is a link directly to the file. It must end in:
.wav
.mp3
.wma
.mp4
.ogg
These a direct URLs (spaces are to prevent autolinking, ignore them):
http:// example.com/music.mp3
http:// thing.example.com/stuff/example.ogg
These are not:
http:// example.com/listen.html
example.com/music.mp3 (there must be http://)
http:// youtube.com/watch?v=FOq1VUPdjYk
C:documents and settingsfile.mp3
[any myspace link]
http:// example.com/listen
You can download music from non-direct link sites using this:
[Link](Mouse over link to see full location)
You can then turn files onto your computer into direct links using this:
[Link](Mouse over link to see full location) ]
More Questions: |