<HEAD> section of your HTML file:
You can also use
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://api.mesibo.com/mesibo-v2.js"; document.body.appendChild(script);
Do not use a local copy of mesibo.js. Server expects one of the recent versions and login may fail if your JS file version is old.
file://sites due to browser security restrictions.
Notes when using it for Calls and Conferencing
Due to the browser security model, camera and microphone access require the following:
You MUST use a secure URL (
file://URLs will NOT work.
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 documentation for more information.