diff options
author | Hiroshi Ichikawa <gimite@gmail.com> | 2011-06-24 20:48:40 -0700 |
---|---|---|
committer | Hiroshi Ichikawa <gimite@gmail.com> | 2011-06-24 20:48:40 -0700 |
commit | b972cc6e321757f4143eabdcbfa752f121905634 (patch) | |
tree | 7df27280ab5cced4511af56fa0b8d0d9fa6841e9 | |
parent | a6b616c5362dd7bb918ce4247f1cce8b7e863c55 (diff) | |
parent | b940ead1f7b07c91e11cbd84fb398281e8212e40 (diff) | |
download | web-socket-js-b972cc6e321757f4143eabdcbfa752f121905634.tar.gz |
Merge pull request #72 from doenietzomoeilijk/master
Making Flash version detection work with Gnash.
-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; } |