Docs sectionsSearch⌘K

DocsPlacement

Player SDK

If your site builds its own pages, use @dodocast/player — links, embeds and channel data, each with a single function.

bash
npm install @dodocast/player
js
import { mount } from '@dodocast/player'

mount('#player', { kind: 'video', code: 'abc123XYZ0', start: 90 })
TaskFunctions
Links and embeddingwatchUrl(), embedUrl(), embedHtml(), mount()
Direct HLS links (Pro, Business)streamUrl()
24/7 channel datagetChannelState(), getChannelGuide(), progress()
Signed links (server-side, Node.js 18+)signToken(), signedStreamUrl(), signedPlaylistItemUrl()

embedHtml() returns the same markup as the Embed button in the console. More details and examples: Player SDK · GitHub · npm. MIT license.

Updated:

    ↑ ↓ to select, Enter to open, Esc to close