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
-~----------~----~----~----~------~----~------~--~---

Reply via email to