get
https://developer.dacast.com/v2///embed/
Return a JavaScript or iframe embed snippet for a VOD, live channel, or playlist.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Returns an HTML snippet for embedding a VOD, live channel, or playlist. This endpoint only returns code — there is no create or upload step.
Use resource_type vod, channel, or playlist.
A successful call returns 200. The body is JSON with one field, code. < / > are JSON-escaped as \u003c / \u003e. Parse the JSON and insert code as HTML — do not run unescape() on the raw string.
The iframe src and JavaScript contentId match the UI share link (root_user_id + content id). The HTML wrapper around them does not; see Embed codes for API vs UI snippets.
