1.1.3 • Published 8 years ago

swf-player-version v1.1.3

Weekly downloads
335
License
MIT
Repository
github
Last release
8 years ago

SWFPlayerVersion npm.io

Shockwave Flash Player version utility. GCC ADVANCED optimizations compatible.

// Test if SWF Player version is supported and output the actual version.
if (SWFPlayerVersion.isSupported('10.0')) {
  alert('SWF Player ' + SWFPlayerVersion.get() + ' is installed');
}

API

get()
  returns {?string} '#.#.#' or null.

  Get available SWF Player version. Result is cached.
isSupported(requiredString)
  requiredString {string} '#.#.#', '#.#', '#' or ''.
  returns {boolean} true if supported.

  Determine if available SWF Player meets version requirement.
1.1.3

8 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago