2011/1/3 Luther Goh Lu Feng <[email protected]> > The video says that the demo works only in Chrome. Any idea why > websockets do not work in Firefox and Safari. > > That works in Safari too
A workaround for those browsers that don't yet have native WebSocket support is with this implementation that uses flash to provide WebSocket support to JavaScript: http://github.com/gimite/web-socket-js This allows you to just code to WebSocket, and for browsers that have native support it'll use that. Otherwise it falls back to using flash for the support.

