Preserved Topic: detecting plug-ins (Page 1 of 1) |
|
---|---|
Neurotic (0) Inmate Newly admitted |
posted 04-10-2000 11:02
hey everyone, i was curious if any of you could help me out. I am going to put up a flash site for someone. i wrote a script a while back to detect if the user had the latest flash plug-in, but it only works in netscape. does anyone know of a cross browser script fot this purpose? i really need it to work in explorer, but i guess if it can't.............it can't. let me know, thanks everyone. |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 04-10-2000 23:55
Yah, I really love the ability in Netscape to read from the plugins array, but IE chose a different scheme. If your user has an advanced enough browser, 4.0 or better, you can load the necessaries from an ActiveX component, Flash will produce the code for you if you let it output your html. Just cuy out the ugly bits and insert, it usually works for me. I've run into problems, but I'm not the biggest flash maniacc out there, let's hear other feedback. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 04-11-2000 01:30
Okay, this isn't perfect but it's cross platform.<P>if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]){<P>window.location ="whatever.htm"<P>}<P>Basically it will check for MIME types and redirect as opposed to using the Plug-In array.<P>Also I'm not sure when but if you can find out what version IE browser started bundling the Flash plug-in with the release you could do it simply by browser versions for IE and a plug-ins scan for Netscape <P> |