PHP to detect FLASH script?

  • azneternity
  • Novice
  • Novice
  • No Avatar
  • Joined: Jan 27, 2006
  • Posts: 26
  • Loc: Tallahassee
  • Status: Offline

Post February 16th, 2006, 11:18 am

Does anyone have any PHP code that detects if the user has flash, and if they dont replace the flash with a picture?

I just need something simple to get me started. Thanks
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post February 16th, 2006, 11:18 am

  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post February 16th, 2006, 1:33 pm

Strong with this one, the sudo is.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post February 16th, 2006, 2:51 pm

This flash detection script works very well. It detects the version of Flash they are using and automatically downloads and prompts the end user to install the version needed for your flash movie. For example they have Flash Player 6, but your movie is saved as Flash 8 it will download Flash 8. You can customize it so that if they do not have flash installed you can dictate what they see instead.

http://blog.deconcept.com/flashobject/

Simply incorporate it into the HTML content of your php file. (It is a little complicated so it will take you some studying and experimenting to work for your site.)
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • azneternity
  • Novice
  • Novice
  • No Avatar
  • Joined: Jan 27, 2006
  • Posts: 26
  • Loc: Tallahassee
  • Status: Offline

Post February 22nd, 2006, 2:27 pm

Thank you!
  • matsolof
  • Born
  • Born
  • No Avatar
  • Joined: Oct 19, 2009
  • Posts: 1
  • Status: Offline

Post October 19th, 2009, 11:34 am

-
  • PolishHurricane
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Feb 17, 2005
  • Posts: 1585
  • Status: Offline

Post October 19th, 2009, 1:05 pm

Whatever you do, if you use JavaScript to detect if they have flash, make sure they actually have JavaScript also prior to attempting to detect with it.
There's no place like 127.0.0.1, badass part is now it's ::1

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 237 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.