/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<script type="text/javascript"> // <![CDATA[ var version = deconcept.SWFObjectUtil.getPlayerVersion(); if (document.getElementById && version["major"] > 0) { document.getElementById('flashversion').innerHTML = "You have Flash player"+version['major'] +"."+ version['minor'] +"."+ version['rev'] +" installed."; } // ]]> </script>
URL: http://blog.deconcept.com/swfobject/flashversion.html