The digital waiting room check-in lets participants join an open video consultation without an appointment. Embedded in an iframe, the whole journey — check-in, camera and microphone check, waiting and the call itself — happens on your website.
Unlike the other forms, this one continues into a video call inside the iframe. That needs two things the other embeds do not: an allow attribute on the iframe, and your website registered as an authorized host.
Overview
The check-in lets participants:
- Enter their first name, last name, date of birth and phone number and agree to the processing of their data
- Run a short camera and microphone check
- Join the digital waiting room and wait until someone from your team starts the visit
When the visit starts they are connected automatically. No MeetOne account is needed. Whichever link they use, they land in the waiting room of the organization; see Which link to embed.
The form sends its JavaScript events under the context meetone-queue-check-in.
Prerequisites
- A MeetOne tenant domain (for example
acme.meetone.io) with the digital waiting room enabled — Integrations › Digital waiting room appears in the sidebar. - Your website registered as an authorized host (next section).
- The ability to add HTML and JavaScript to your website.
Authorized hosts
After the check-in, the iframe navigates to the video call. MeetOne only lets a call page be framed by websites that are registered as authorized hosts; on any other website the frame stays blank after the check-in. The check-in form itself can be framed anywhere, so a missing registration shows up only at this step.
Organization owners add the hosts under Organization › Integrations › Authorized hosts:
- Under Add host, enter your website's Origin, for example
https://www.example.com. - Optionally add a Description, for example "Website".
- Click Add.
An origin is scheme, host and optional port, without a path. Rules:
httpsonly, with no wildcards (*).- It has to match the page that contains the iframe exactly:
https://example.comandhttps://www.example.comare two origins, so add both if you use both. - At most 20 hosts per organization.
- The hosts apply to the organization's calls. Without any host, the organization's calls cannot be embedded anywhere.
If you do not manage the organization yourself, the note on the integration page tells you who does: the organization's owner, or MeetOne support.
The same list also decides which websites receive the call's lifecycle events.
Getting the Integration URL
Copying it from MeetOne
The ready-made URL and code are under Integrations › Digital waiting room: Your digital waiting room URL and Digital Waiting Room — iFrame Integration. Organization owners find the same under Organization › Integrations › Digital waiting room, with one link for the organization and one per member under Organization & member check-in links.
Constructing the URL
https://[your-tenant-domain]/waiting-room/[BOOKING_TOKEN]/new?iframe=true
Example:
https://acme.meetone.io/waiting-room/abc123def456/new?iframe=true
The booking token is a professional's user_token or your organization's token. Without iframe=true the form appears in its full-page layout.
Which link to embed
- The organization link checks participants in to the organization's shared waiting room. Whoever is free takes the next person.
- A member's link also lands in the organization's shared waiting room; it records that member as the preferred professional.
To embed a member's form instead of the organization's, replace the address in the src attribute with the member's link and append ?iframe=true.
Customize colors (optional)
Append button_color, button_label_color or highlight_color with a hex value (#rgb or #rrggbb; encode # as %23). Invalid values are ignored.
https://acme.meetone.io/waiting-room/abc123def456/new?iframe=true&button_color=%230066FF
Basic Integration
1. Add the following styles to your HTML document.
<style>
.meetone-queue-check-in {
max-width: 920px;
padding: 16px;
min-height: 568px;
margin: 0 auto;
}
.meetone-queue-check-in iframe {
width: 100%;
border: none;
min-height: 568px;
/* These styles are example styles, adjust them to your needs */
box-shadow: 0 0 5px rgba(0,0,0, .1), 0 0 0 1px rgba(0,0,0, .1);
border-radius: 16px;
background: #fff;
}
</style>
2. Add the iframe, with the allow attribute.
<div class="meetone-queue-check-in">
<iframe
id="queue-check-in-iframe"
src="https://acme.meetone.io/waiting-room/[BOOKING_TOKEN]/new?iframe=true"
width="100%"
height="568"
allow="camera; microphone; fullscreen; display-capture; autoplay">
</iframe>
</div>
Without the allow attribute the browser denies the frame camera and microphone, whatever MeetOne sends. The check-in works, but the camera check and the call do not.
JavaScript Events
The check-in form sends two events to your page with postMessage, both with the context meetone-queue-check-in: meetone.iframe-ready (the form has loaded) and meetone.iframe-resize (its size changed). event.data carries type, width, height and context. The closed notice sends them too.
window.addEventListener("message", (event) => {
if (event.origin !== "https://acme.meetone.io") return;
if (event.data?.context !== "meetone-queue-check-in") return;
if (event.data.type !== "meetone.iframe-ready" && event.data.type !== "meetone.iframe-resize") return;
document.getElementById("queue-check-in-iframe").style.height = `${event.data.height}px`;
});
Always check event.origin and context.
After the check-in: the call
Once the participant has checked in, the iframe shows the call, which is a different page with its own events. They reach your page only if your website is an authorized host:
| Event | When |
|---|---|
meetone.call-ready |
The call page has loaded; nobody has joined yet |
meetone.call-started |
The participant joined the call |
meetone.call-ended |
This participant's call is over; event.data.reason says why (user_hangup, host_ended or room_closed) |
They carry roomToken and, for meetone.call-ended, reason.
Opening hours
When your organization has opening hours for the waiting room, the form shows a notice with the next opening time outside of them instead of the check-in. The notice sends the same events, so the same listener resizes it. Whoever is already in the waiting room stays there.
Security Considerations
If your website uses a Content Security Policy (CSP), allow frames from your MeetOne tenant domain:
<meta http-equiv="Content-Security-Policy"
content="frame-src https://acme.meetone.io;">
Always use HTTPS for both your page and the iframe. The form collects personal data and the call carries video and audio.
Troubleshooting
The iframe goes blank after the check-in
Your website is not an authorized host, or the registered origin differs from the page that contains the iframe (www, scheme or port). Compare the address in the browser with the entry under Authorized hosts.
Camera or microphone not available
The iframe has no allow attribute, or it lacks camera; microphone. Use the attribute exactly as shown above. The participant also has to allow camera and microphone in the browser.
The form shows "closed"
The check-in is outside the opening hours, or opening hours are switched on without a time window.
Iframe not loading, wrong height
Check the booking token, CSP and mixed content in the browser console. Check event.origin and context in your listener, and make sure iframe=true is in the URL.
Related
- Embed the Website Widget – offers the digital waiting room as a function without an iframe of your own
- Room lifecycle
Questions? Contact us at support@meetone.io.