Posted By

rwczippy on 01/28/09


Tagged

javascript check flash player


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

rwczippy


show player version @ deconcept


 / Published in: JavaScript
 

URL: http://blog.deconcept.com/swfobject/flashversion.html

  1. <script type="text/javascript">
  2. // <![CDATA[
  3. var version = deconcept.SWFObjectUtil.getPlayerVersion();
  4. if (document.getElementById && version["major"] > 0) {
  5. document.getElementById('flashversion').innerHTML = "You have Flash player"+version['major'] +"."+ version['minor'] +"."+ version['rev'] +" installed.";
  6. }
  7. // ]]>
  8. </script>

Report this snippet  

You need to login to post a comment.