Skip to content

Conversation

Bizarrus
Copy link

Override Safari's (old) WebSocket and force to flash

Override Safari's (old) WebSocket and force to flash
@gimite
Copy link
Owner

gimite commented Oct 28, 2013

What's wrong with Safari 5.1's WebSocket?

@Bizarrus
Copy link
Author

Sorry, i mean only Safari 5.1.

Safari has problems with Handshaking. I have added these lines to force to the Flash-Fallback. Only set "WEB_SOCKET_FORCE_FLASH" will not working.

@gimite
Copy link
Owner

gimite commented Nov 1, 2013

What kind of handshaking problem does it have? Do you know why WEB_SOCKET_FORCE_FLASH doesn't hep? Note that you need to set the variable before loading web-socket-js. e.g.

<script type="text/javascript">
  WEB_SOCKET_FORCE_FLASH = true;
</script>
<script type="text/javascript" src="web_socket.js"></script>
<script type="text/javascript">
  ....
</script>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants