If you use the SWFObject static publishing method, then the Flash will still display (if the user has Flash), but no automatic version detection can take place. Dynamic publishing replies on JS being enabled to display the Flash, so in this case the alt content would be displayed.
Cheers, Aran -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of kevin nugegoda Sent: Wednesday, 28 January 2009 2:33 PM To: [email protected] Subject: Re: redirect to https only if flash loads? Hi Aran, Thanks for your response. Would I be right in assuming that if the user has no javascript but does have flash player, the flash content would still be displayed via http:// ? .. On 28/01/2009, at 2:13 PM, Aran Rhee wrote: I'd suggest you have an intial landing page with Flash detection, and then redirect to another location based on whether the user has Flash or not. You can use swfobject.getFlashPlayerVersion() or swfobject.hasFlashPlayerVersion(versionStr) to do the detection without embed, and then run some logic based on the result (http://code.google.com/p/swfobject/wiki/api ) if (swfobject.hasFlashPlayerVersion("9.0.0")) { // has Flash } else { // no Flash } Aran -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of kevnug Sent: Wednesday, 28 January 2009 1:54 PM To: SWFObject Subject: redirect to https only if flash loads? Hi, I'm using SWFobject 2.1 with the static method of embedding flash and html markup for alt content. Currently I'm using mod_rewrite which changes all http queries to https. But ideally I want to ensure visitors who have flash use https but those without flash get the html content via http. Anyone know of a way to achieve this? The site is at http://hummingbirdbaby.com.au cheers --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
