show player version @ deconcept


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your 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>

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.