2

I've seen two answers:

  1. Adobe Flash Detection Kit - Detect Flash version using JavaScript
  2. JavaScript routines only: http://www.prodevtips.com/2008/11/20/detecting-flash-player-version-with-javascript/

Simple questions:

  1. are the detection algorithms, described above, identical and if not - which way is better?
  2. Will they work the same for desktop and mobile browsers (both iPhone/iPad and Android)?
Community
  • 1
  • 1
BreakPhreak
  • 10,940
  • 26
  • 72
  • 108

1 Answers1

1

The two methods are not identical but I would recommend using the Adobe provided one since it is more likely to remain functional in future updates to the Flash Player.

Alternatively, you could use SWFObject as recommended by the posters in this thread - Cross Browser Flash Detection in Javascript

And not worry about the implementation :)

There is no reason that any of these scripts will not run in Safari on the iPad/iPhone or other browsers on Android devices.

Community
  • 1
  • 1
tonycoupland
  • 4,127
  • 1
  • 28
  • 27