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.<iframe
src="https://subdomain.whereby.com/room?minimal"
allow="camera; microphone; fullscreen; speaker; display-capture; autoplay"
></iframe>
To learn how to restrict which domains are allowed to embed your rooms, read the Allowed domains section.
Last modified 4mo ago