Search…
Using an iframe
If you want to embed video rooms in a website using HTML or a framework that supports HTML elements like React.js, a great option for doing this is by using a simple iframe.
Use the roomUrl as the src attribute as in the example below.
1
<iframe
2
src="https://subdomain.whereby.com/room?minimal"
3
allow="camera; microphone; fullscreen; speaker; display-capture"
4
></iframe>
Copied!
When embedding, you can customize the room by toggling features and behaviors via URL parameters.
To learn how to restrict which domains are allowed to embed your rooms, read the Allowed domains section.
Copy link