Latest Version version_js

Mesibo Javascript SDK for Chat, Video and Voice Calls, and Conferencing

Install Mesibo Javascript SDK

The easiest way to install mesibo Javascript SDK is to include following in <HEAD> section of your HTML file:

<script src="https://cdn.mesibo.com/api/mesibo-version_js.js"></script>

or, to always use the latest version,

<script src="https://cdn.mesibo.com/api/mesibo.js"></script>

You can also use async and defer attributes inside script tag if requires.

Alternatively, you may also use DOM method to load the mesibo JS on demand when it is not possible to use the script tag.

const script = document.createElement("script");
script.src = "https://cdn.mesibo.com/api/mesibo.js";
document.body.appendChild(script);

IMPORTANT - Secure https website is required

  • You MUST use a secure website (https) to use mesibo javascript. It may NOT work from http:// or file:// sites due to browser security restrictions.
  • You MUST also use a valid certificate with recognized authority, the self-signed certificate will NOT work.

The browser will not grant the camera and microphone permissions unless your app meets the above requirements. If permissions are not granted, calls and conferencing will not work.

These restrictions are by the browsers and NOT by the mesibo. Refer Security section in the Mozilla documentationopen_in_new for more information.

Please ensure you are not using a private or incognito browser window when using mesibo. mesibo JavaScript API utilizes IndexedDB for local storage of messages, which does not function in private/incognito browsing modes. For the best experience, use a regular browser window so mesibo can fully leverage browser storage capabilities.

Sample code

You can download sample code for Messaging, Voice and Video Call using mesibo Javascript SDK from our GitHub Repositoryopen_in_new

That's All!

You can now begin developing features with mesibo.