Using the new IFrame API is the easiest way to embed Eyeson video conferencing into your site or app using a few lines of HTML and Javascript.
- Integrate the Eyeson IFrame API script
<script src="https://app.eyeson.team/iframe-api.js"></script>
- Provide an HTML element as meeting container
<div id="meeting"></div>
- Call the
EyesonIframe
function and let the magic happen
new EyesonIframe('#meeting', { accessKey: '...' });
IFrame API creates an iframe HTML element with all correct settings and loads Eyeson's default UI.
In advanced mode, methods to interact with Eyeson UI inside the iframe are
available, like present, chat, snapshot, and also meeting events for the user
like join and leave can be observed.