Flash will detect whether the available.
This module made of WebModule.
<script src="lib/WebModule.js"></script>
<script src="lib/FlashDetector.js"></script>
window.onload = function() {
var flash = new FlashDetector({
swf: "swf/FlashDetector/bin/FlashDetector.swf",
callback: function(flashEnabled) { // @arg Boolean
console.log(flashEnabled === flash.enabled); // -> true
alert(flash.enabled);
}
});
}