This is an example of how to use the @mailvideo/embed package.
To see the example in action:
Add the publishableKey, tenantId and accountId at the end of the url:
?publishableKey={your-mailvideo-key}&tenantId={tenant-id}&accountId={account-id}/the root route is to load the iframe as a dialog/preloadpreloads the iframe as a dialog when the page is loaded./custom-containeropens the iframe in a custom div element./preload-custom-containerpreloads the iframe in a custom div element when the page is loaded.
Go to:
src/routes/+page.svelte
to understand the code.
