Jump to content

music in the background


thibo1025
 Share

Recommended Posts

I want to set a music in the background of my page, but I want this music to be red by most navigators... how can I do this?

Link to comment
Share on other sites

this is more of a suggestion..but i personally hate background music, or any auto playing sounds on a webpage, as most of the time when i'm browsing, i have music on from my computer, so, i instantly close any webpage that has sound on it.If you insist on playing music, you need an option that gives the user the ability to turn the annoying stuff off:)

Link to comment
Share on other sites

Guest Small Wonder
I want to set a music in the background of my page, but I want this music to be red by most navigators... how can I do this?
Hi! Iam also trying to so the same stuff...could you please let me know if you have tried it??did u get a solution for the query...do let me know if you find a way to add music ...:)
Link to comment
Share on other sites

Actually, to make sure it's compatible with all browsers you could use something like this:

<embed src="http://www.url/music.mp3" autostart="true" loop="true"><noembed><bgsound src="http://www.url/music.mp3" loop="infinite"></noembed>

Just depending on the browser some only use one of these tag's and so they use one or the other[note: <embed> is more common].

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...