user2201935
user2201935

Reputation: 396

How to display Flash version in Javascript

I am using javascript code shown below for displaying Browser plugins for Flash Version.

Code is:

<script>
txt=navigator.Flash;
document.getElementById("flash").innerHTML = navigator.Flash;
</script>

But this code output is displaying

undefined

I want the version number of flash player to be displayed.

I have no idea how to go ahead. Please help. Thanks in advance.

Upvotes: 1

Views: 499

Answers (2)

Stasel
Stasel

Reputation: 1298

Check out here

Source: Checking Flash player version using Javascript

Upvotes: 0

Vortex
Vortex

Reputation: 653

Use swfobject. With it you can get the flash player version of the user viewing it see http://code.google.com/p/swfobject/

Upvotes: 2

Related Questions