diff options
author | Max Roeleveld <doenietzomoeilijk@gmail.com> | 2011-06-15 09:37:15 +0200 |
---|---|---|
committer | Max Roeleveld <doenietzomoeilijk@gmail.com> | 2011-06-15 09:37:15 +0200 |
commit | b940ead1f7b07c91e11cbd84fb398281e8212e40 (patch) | |
tree | 7df27280ab5cced4511af56fa0b8d0d9fa6841e9 /web_socket.js | |
parent | a6b616c5362dd7bb918ce4247f1cce8b7e863c55 (diff) | |
download | web-socket-js-b940ead1f7b07c91e11cbd84fb398281e8212e40.tar.gz |
Use getFlashPlayerVersion() to detect the Flash version more reliably
Diffstat (limited to 'web_socket.js')
-rw-r--r-- | web_socket.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_socket.js b/web_socket.js index bed899c..90ecb5e 100644 --- a/web_socket.js +++ b/web_socket.js @@ -12,7 +12,7 @@ console = {log: function(){ }, error: function(){ }}; } - if (!swfobject.hasFlashPlayerVersion("10.0.0")) { + if (!swfobject.getFlashPlayerVersion().major >= 10) { console.error("Flash Player >= 10.0.0 is required."); return; } |