We are developing an HTML5 chat client using strophe.js along with flxhr.js & strophe.flxhr.js. The later js file injects a swf file in the DOM at runtime. Its through this flash it tries to overcome JavaScript’s same origin policy issue.
We also intend to access this chat client via touch devices, iOS & Android & desktops as well. Its clear the modern devices won't have flash available & if the desktop browsers have disable the flash player, then this approach won't work.
Could any one suggest an alternative approach to develop a pure JavaScript Jabber client or is there any another way to achieve this using strophe.js or its variant. Any help would greatly appreciated.
I'm no jabber expert, but a few minutes of Googling led me to a list of XMPP clients. I'd suggest using or starting with one of these: http://xmpp.org/xmpp-software/clients/
Note: There are several web-based clients on the list, such as: http://candy-chat.github.com/candy/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With