Skip to main content

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>

(How to find my live UID?)

Query parameters

ParameterTypeDefaultDescription
live_idstringRequired. UID of the live/video to open.
short_uibooleanfalseForces the vertical, short-form single-content presentation instead of the classic modal.
chat_onlybooleanfalseRenders only the chat (messages + composer) — the video player and its surrounding UI are not mounted at all.
timenumber (seconds)Forces the player to start at this timecode.
modal_contentproduct | title | emptyWhat the modal's main content area shows. Only applies when short_ui=true.
modal_content_toptitle | emptyWhat's shown above the content. Only applies when short_ui=true.
modal_buttonbooleanfalseShow the product/CTA button. Only applies when short_ui=true.
modal_share_buttonbooleanfalseShow the share button. Only applies when short_ui=true.
modal_like_buttonbooleanfalseShow 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>