Free AdviceGet Free Advice
Home | Get advice | Give advice | Topics | Columnists | - !START HERE! -
Make Suggestions | Sitemap

Get Advice


Search Questions

Ask A Question

Browse Advice Columnists

Search Advice Columnists

Chat Room

Give Advice

View Questions
Search Questions
Advice Topics

Login

Username:
Password:
Remember me
Register for free!
Lost Password?

Want to give Advice?

Sign Up Now
(It's FREE!)

Miscellaneous

Shirts and Stuff
Page Backgrounds
Make Suggestions
Site News
Link To Us
About Us
Terms of Service
Help/FAQ
Sitemap
Contact Us


hi.


Question Posted Saturday November 17 2007, 1:54 pm

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?


[ Answer this question ]
Want to answer more questions in the Miscellaneous category?
Maybe give some free advice about: Fashion and Styles?


theymos answered Saturday November 17 2007, 6:29 pm:
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)

[ theymos's advice column | Ask theymos A Question
]


More Questions:

<<< Previous Question: My friend is using drugs! Should i talk to her?
Next Question >>> buns and thighs =]]

Recent popular questions:
Want to give advice?

Click here to start your own advice column!

What happened here with my gamer friends?

All content on this page posted by members of advicenators.com is the responsibility those individual members. Other content © 2003-2014 advicenators.com. We do not promise accuracy, completeness, or usefulness of any advice and are not responsible for content.

Attention: NOTHING on this site may be reproduced in any fashion whatsoever without explicit consent (in writing) of the owner of said material, unless otherwise stated on the page where the content originated. Search engines are free to index and cache our content.
Users who post their account names or personal information in their questions have no expectation of privacy beyond that point for anything they disclose. Questions are otherwise considered anonymous to the general public.

[Valid RSS] eXTReMe Tracker