Posted By

rwczippy on 01/28/09

Tagged

javascript flash

Viewed 0 times

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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.