jquerytools/jquerytools — pull request #818 by sompylasar (2012-07-25 12:50:32+00:00)
Title: Fix for issue #710: flashembed.getVersion is broken since flash player v10.1

https://github.com/jquerytools/jquerytools/issues/710

flashembed.getVersion() now returns three-element array of [major, minor, release] versions.
flashembed.isSupported() now supports fuzzy version comparison:

// Flash installed:
flashembed.getVersion() // => [11, 3, 300]
flashembed.isSupported() // => true
flashembed.isSupported([]) // => true
flashembed.isSupported([10]) // => true
flashembed.isSupported([10, 2]) // => true
flashembed.isSupported([11, 2]) // => true
flashembed.isSupported([11, 4]) // => false
flashembed.isSupported([11, 3, 200]) // => false
flashembed.isSupported([11, 3, 300]) // => true
flashembed.isSupported([12]) // => false

// Flash not installed:
flashembed.getVersion() // => [0, 0, 0]
flashembed.isSupported() // => false

External usages of flashembed.getVersion() and flashembed.isSupported() and derivatives (e.g. flowplayer options) must be updated to include the minor version component.