szimek / xmpp-chat

Facebook chat clone written using Strophe.js and Ember.js
168 stars 52 forks source link

Embed chat #17

Open heshanlk opened 11 years ago

heshanlk commented 11 years ago

How to run this application not as a standalone application but inside a website?

szimek commented 11 years ago

Check https://github.com/szimek/xmpp-chat/blob/master/views/index.ejs. You'll see that you need to load all JS files (or better combine them into a single one) and call Chat.connect() method with user JID and password.