Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Embedded music file

Status
Not open for further replies.

brk1221

MIS
Jan 29, 2002
230
US
Hi, I got a request to add a music loop to a clients homepage. I was successful in adding it but the first time going to the site you get an ActiveX plugin warning in IE. Is there another way of getting the wav file to play without the warning?

This is the code used:
<embed src="/music/Chil.wav" autostart="true" loop="true" hidden="true">


Thanks

Tim
 
You can convert the sound to a different format (.mp3 etc) by using an audio converter. You can put the sound into a flash file but that will prompt IE if the user doesn't have flash player installed.

Best,
Maria Santella
Technical Sales Engineer
ICP DAS USA, Inc.
 
By the way: If your page starts playing music and I cannot turn it off, I (and many others) will visit your site only once and never return.

Greg
People demand freedom of speech as a compensation for the freedom of thought which they seldom use. Kierkegaard
 
Could you use the object tag instead of the embed tag? The object tage lets you put several things together. Maybe you could test for the Active X stuff earlier (I don't know Active X so I don't even know if you test for it) and then present different versions of your content in an object tag based on the results of the test, one version of which was simple enough or configured so as not to trip the Active X warning.

Just a spitballing idea.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top