Caast embed
embed.caast.tv is a standalone, iframe-friendly page that opens a single Caast live/video modal, without requiring you to install the Caast Library or write any JavaScript on your site. It's the option of choice whenever you can only drop an <iframe> on a page — no-code website builders, CMS blocks, newsletters, social/blog embeds...
Under the hood it simply loads the Caast Library and calls caast.open() for you with the parameters read from the URL.
Usage
<iframe
src="https://embed.caast.tv/?app_id=YOUR_APP_ID&live_id=27edef2c259a49f4bf013fdbc23a1dd2&short_ui=true"
width="360"
height="640"
allow="autoplay; encrypted-media"
frameborder="0"
></iframe>
Query parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
live_id | string | — | Required. UID of the live/video to open. |
short_ui | boolean | false | Forces the vertical, short-form single-content presentation instead of the classic modal. |
chat_only | boolean | false | Renders only the chat (messages + composer) — the video player and its surrounding UI are not mounted at all. |
time | number (seconds) | — | Forces the player to start at this timecode. |
modal_content | product | title | empty | — | What the modal's main content area shows. Only applies when short_ui=true. |
modal_content_top | title | empty | — | What's shown above the content. Only applies when short_ui=true. |
modal_button | boolean | false | Show the product/CTA button. Only applies when short_ui=true. |
modal_share_button | boolean | false | Show the share button. Only applies when short_ui=true. |
modal_like_button | boolean | false | Show the like button. Only applies when short_ui=true. |
info
modal_content, modal_content_top, modal_button, modal_share_button and modal_like_button are only taken into account together with short_ui=true — they are ignored on the classic (non-short) modal layout.
<!-- Chat-only widget, no video -->
<iframe src="https://embed.caast.tv/?app_id=YOUR_APP_ID&live_id=27edef2c259a49f4bf013fdbc23a1dd2&chat_only=true"></iframe>
<!-- Short-form single video, with product button and share button, starting at 30s -->
<iframe
src="https://embed.caast.tv/?app_id=YOUR_APP_ID&live_id=27edef2c259a49f4bf013fdbc23a1dd2&short_ui=true&modal_content=product&modal_button=true&modal_share_button=true&time=30"
></iframe>