SDK
For quick prototyping you can load it with a <script> tag from the unpkg public CDN:
<script> tag from the unpkg public CDN:<script crossorigin src="https://unpkg.com/@digitalsamba/embedded-sdk"></script>
const sambaFrame = DigitalSambaEmbedded.createControl({ url: YOUR_ROOM_URL });
sambaFrame.load();For production integrations it is recommended to use npm and a bundler like webpack.
npm install @digitalsamba/embedded-sdkUsage with NPM
import DigitalSambaEmbedded from '@digitalsamba/embedded-sdk';
const sambaFrame = DigitalSambaEmbedded.createControl({ url: YOUR_ROOM_URL });
sambaFrame.load();Last updated