Forum Moderators: phranque

Message Too Old, No Replies

Can you detect flash in .htaccess?

         

wide_circle

4:15 pm on Feb 7, 2009 (gmt 0)

10+ Year Member



Hi there!

The reason why I would like to do that is because I would like to use mod_rewrite only if a user has a certain version or above that version of flash installed in their browser. Sort of an if statement i guess - is this even possible?
I use SWFObject for the flashcontent on the page...

Niklas

Samizdata

4:34 pm on Feb 7, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Perhaps you could describe what you are trying to achieve.

I believe swfObject does accurate version detection and provides a method for alternate content.

...

wide_circle

8:02 pm on Feb 8, 2009 (gmt 0)

10+ Year Member



Hi!
I'm aware how SWFObject work so let me explain:
I'm building flashsites with a framework called Gaia. That framework creates html-pages for each section of the flashsite as alternate content & to feed the search engines. The framework also makes use of SWFAddress which provides deeplinking. For example www.mysite.com/#/contact leeds the user directly to that section in the flashsite. So each html-page has html-code for embedding the flashcontent. This means that if a user enters the site from a hit on google then they will actually enter www.mysite.com/contact.html/#/contact and that contact.html part will stay there forever even if the user navigates thru the site. What I wan't to do is to clean up the URL but only when the user has flash installed otherwise they will get redirected everytime they try visit a html-page even when without flash installed.

Niklas