Skip to main content

One post tagged with "iframe-api"

View All Tags

· 4 min read
Stefan Benicke

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.

  1. Integrate the Eyeson IFrame API script
    <script src="https://app.eyeson.team/iframe-api.js"></script>
  2. Provide an HTML element as meeting container
    <div id="meeting"></div>
  3. 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.