homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
Forum Library, Charter, Moderators: not2easy

Site Graphics and Multimedia Design Forum

Flash detection
What is the simplest and most compatible method?

 10:38 am on Mar 16, 2001 (gmt 0)

I need a simple short and rock solid flash detection scheme.

I've seen a very short Javascript code that uses the navigator.mimeTypes["application/x-shockwave-flash"] property to write an EMBED statement or an alternative gif. However, this javascript property is bugged in IE.

It seems to have to be combined with a lot of OBJECT code (which is invoked on Active-x browsers) as well which makes the whole thing very bulky.

Is there a shorter way to achieve this?



 12:54 pm on Mar 16, 2001 (gmt 0)

As far as I know, if you want to detect the presence of a Flash 3 player, and up, you need to go the route you described, and wrap your EMBED tags within a set of OBJECT tags.

I've just been reading up on this a bit, as I wade into the Flash-y waters. It seems that if you want to detect Flash 4 up, there is a non-JavaScript method. This involves embedding information in the Flash 4 file itself.

There's a lot of technical information accesible on the MacroMedia site [macromedia.com]. After studying for a while, I came the conclusion that there is no short and sweet method.

But the next time I see a Flash banner ad, I'm going to try to grab that code.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved