uupaa.flashdetector.js
v0.3.0
Published
Flash will detect whether the available.
Downloads
13
Readme
FlashDetector.js
Flash will detect whether the available.
This module made of WebModule.
Documentation
Browser, NW.js and Electron
<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);
}
});
}