Skip to content

safeLiveSrc

safeLiveSrc(src): string | null

Defined in: live.ts:47

Check a live player address and rebuild it from its checked parts.

Accepts only https://<one label>.cloudflarestream.com/<alphanumeric uid>/iframe, with no credentials and no port. Of the query, only the player switches autoplay, muted and controls with the value true or false are kept; anything else is left out. Returns null for every other input.

string | null | undefined

string | null