Links

Script Tags

In some more light weight or static projects, a bundler may not be required or sensible. Using a script tag is a great way to utilize the Whereby Web Component.
When using HTML or a static project:
<html>
<head>
<script src="https://cdn.srv.whereby.com/embed/v2-embed.js" type="module"></script>
</head>
<body>
<div class="container">
<whereby-embed room="some-room" />
</div>
</body>
</html>
You can use a hostRoomUrl instead of the roomUrl, if you want to give the user host privileges

Web Component Features & Usage

Last modified 18d ago