Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Flash Player >= 10.0.0 is required #402

Closed
davidfooks opened this Issue Mar 9, 2012 · 4 comments

Comments

Projects
None yet
5 participants

socket.io-client / lib / vendor / web-socket-js / web_socket.js outputs a console.error:

"Flash Player >= 10.0.0 is required"

If the flash player is not present on IE8. Even when the flash player transport has not been enabled.

If the transport has not been enabled then socket.io should not give an error message.

I think I remember grepping about for this and finding it's due to a lib for handling old versions of websocket, not actually having to do w/ flashsocket transport. That's why even if you skip flash player transport you still get the warning. You could try skipping the websocket transport if the browser is IE (or in other words if the browser doesn't support websockets, maybe there's a better test for that via modernizr, etc.). That way you'd bypass the code which, as it runs through its steps trying to check for legacy websocket support, triggers that console warning.

In the end I just removed all of the FlashPlayer logic from the client.

mtoso commented Mar 29, 2012

I have the same problem. What transport did you use on the client?

+1 This is coming up when we try to make a mobile app with Phonegap. Some more details here http://stackoverflow.com/questions/9777908/communicating-with-socket-io-from-android

@rauchg rauchg closed this Nov 25, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment