Jump to content

Embeded Sound Doesn't Work


MrFish

Recommended Posts

I want sound to be played to notify my visitors when something happens. My sound won't play though, is there something wrong with this?

<embed src="cordless.wav" volume=100 autostart=true hidden=false loop=false>

Link to comment
Share on other sites

<embed>s only work in IE. The correct way is to use <object>.
I just googled it and it looks like object is extremely buggy, and in some browsers it even breaks the page. Is this information old?
Link to comment
Share on other sites

Object doesn't work in old IE browsers, which use embed instead. You may have to use some sort of hybrid method.Note: it is probably best if you used a Flash player - that way you are guaranteed high compatibility.

Link to comment
Share on other sites

Well if you go to facebook, for example, they have a built-in instant messenger. And when you get a new message it makes a *pop* sound. This doesn't use flash. I'd like to add sound effects to certain actions on my soon-to-be site. I'll try object.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...