Discussion Locked

Javascript - Browser Detect - Wav Files

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

A user replied to my question about detecting the browser and using one piece of code for one, and one piece of code for the other with this - which is fine:

function Detect()
{
if(navigator.appName== "Microsoft Internet Explorer")
{
Put your media player code for internet
explorer between these braces
}
else {
Put your media player code for
Netscape Navigator between these braces
}
}

However I also have the problem where IE's player and Quicktime both play the WAV's automatically once their downloads have completed. Is there any way to turn that off in the code?

There must be as most sites don't have that problem.

3 replies

by allpainful

Below is the exact script i use. I would think that where I have autostart=true you fould put false to get IE not to autostart the playing.

This discussion is closed to new replies.