Click to See Complete Forum and Search --> : quicktime plugin detection issue


orkko
10-04-2003, 02:12 AM
that's an easy one for you guys...
I am a bit of a newbie at js, and still crawling compared to some of you guys...

I am working on a page that I created the following code:

<script language="javascript" type="text/javascript">

<!-- hide this

if (navigator.plugins="QuickTime") {
document.write("<embed src='01.mov' width=320 height=240 loop=false

autoplay=true>") }

else {

document.write("<img src='1.jpg width=200 height=200 alt=hehehe'>")

}

// end hide -->

</script>

it won't detect my quicktime... should this part ---> (navigator.plugins="QuickTime") be the reason why?

Khalid Ali
10-04-2003, 08:33 AM
navigator.plugin will not work in IE, you have tofidn out for a specific ActiveXControl in a windows machine...

orkko
10-04-2003, 12:23 PM
thanks