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:
<script src="" type="module"></script>
<div class="container">
<whereby-embed room="some-room" />
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