0.3.0 • Published 9 years ago

uupaa.flashdetector.js v0.3.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

FlashDetector.js Build Status

npm

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);
    }
  });
}
0.3.0

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago