Doug.

The basic in built functionality is:

- users with correct Flash version get Flash content
- users with a lower version of Flash (but >=6.0.65) will get ExpressInstall
dialog (if developer has specified to use expressInstall)
- users with a lower version of Flash < 6.0.65), or no Flash, or no js
support will get Alt content

If you want to roll your own logic, then do a version detection and then run
your own logic afterwards:

The method(s) you want are on this page:
http://code.google.com/p/swfobject/wiki/api

swfobject.getFlashPlayerVersion()

or

swfobject.hasFlashPlayerVersion(versionStr)


Aran

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of dougL
Sent: Saturday, 17 January 2009 8:36 AM
To: SWFObject
Subject: swfobject flash detection


I am currently attempting my first swfobject experience, and I have a
very basic question.  Previously, using markup based on Adobe Flash
Detection Kit I was able to test for several conditions and give
appropriate user feedback for each - no javascript, no Flash Player or
not newer than 6.0.55, has Flash Player but not correct version.
Initially it looks to me that swfobject only traps the 'not correct
version' condition.  Is this impression correct?  Does the javascript
API return variables allowing different 'alternative content' to the
user?

Thanks for your help
Doug



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to