Hi Sean SWFObject has no API method for telling you whether Flash is disabled or not. From SWFObject's point of view, 'disabled' is equivalent to 'not installed.' The only question SWFObject is trying to answer is: will the embed succeed? SWFObject just wants to embed the SWF, and if Flash Player is not present or is disabled, the embed will fail, as will any attempt to use Express Install.
Following this logic, I disagree about the documentation being misleading, as SWFObject SHOULD treat disabled Flash Players as 'not installed'. If someone knows enough to disable their Flash Player, they should know when they see a "Flash Player not installed" message that they need to re-enable Flash Player. (Assuming a message is displayed in the fallback HTML telling them Flash Player is not installed.) - philip On Thu, Jan 7, 2010 at 9:31 AM, Sean <[email protected]> wrote: > Hello, > > I noticed that getFlashPlayerVersion() and hasFlashPlayerVersion() > treat a disabled Flash player the same as no Flash at all. Is that > deliberate, and is there any way to tell the difference between these > two situations using swfobject? On one case you want to tell the user > that they need to install Flash to use your site's full functionality, > and in the other case you want to tell the user that they need to > enable Flash to use your site's full functionality. > > The API documentation is a bit misleading, since it says "installed" > not "installed and enabled". Regardless, thanks for making this > useful class available. > > Sean Manning > > -- > 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]<swfobject%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/swfobject?hl=en. > > > >--
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.
