PDA

View Full Version : embedding sound version specific


villagecirc
11-19-2003, 02:36 AM
I have recently used some embed tags within my c# web projects and have noticed when using an older browser I am getting some errors

I was wondering if it was possible to grab the client version and ask if it is msn exlporer 6.0 or whatever before embedding the sound

like this pheudocode


If version is valid then
playsound
else do nothing

I guess I am looking to check the version of the browser before I allow the sound to play probably use jscript or if possiple within C# code anyways if anyone has any suggestions it would be greatly apreciated....[:0]

Matthew H. Paulson
matt@villagecircle.net
http://www.villagecircle.net

theharmonyguy
11-24-2003, 06:36 AM
Scripts to do this are common. Here are a few links:

http://www.netmechanic.com/news/vol3/javascript_no15.htm
http://www.aspin.com/home/components/browser

There's also a server-side object included with IIS you can use in ASP.