Access and publishing
Who may play and how long a credential lives sit in the content’s settings.access; whether a change reaches what is live depends on whether you changed access or source.
Playback credential lifetime
capability_seconds is the lifetime of the credential issued for each play — 100 to 3000 seconds, 600 by default. It sets both how long a manifest_url stays valid and when the element renews; <praxis-video> renews by itself before expiry, so the page does nothing.
Allowed origins
An empty allowed_origins array means any origin; a non-empty one means only the listed origins may open a play, and any other origin gets ORIGIN_NOT_ALLOWED. Each entry is the origin itself in lowercase (scheme://host[:port]), with no path, no trailing slash and no default port (:443 and :80 are refused), at most 20 of them. Only https origins are accepted; http://localhost is the development exception.
A grant code’s origin is the other origin constraint: write it as an https origin too (http://localhost for development), and it must equal its own URL origin (with no path, query or trailing slash); once bound the code can only be exchanged from that origin — otherwise ORIGIN_NOT_ALLOWED.
When a change takes effect
Access settings are read from the content’s latest version, so changing capability_seconds or allowed_origins takes effect at once, with no republish.
The source is read from the live version: swapping the asset, its version or the wanted renditions starts a fresh transcode, but only a republish replaces what plays live. Until then the previous version keeps playing.
Versions and publishing
- Saving settings makes a new version and does not change the playing one.
POST /content/v1/contents/{content_id}/publishpublishes the latest version, or makes theversionyou name the live one. Publishing requires the target version to be ready, or answersSOURCE_NOT_READY.POST /content/v1/contents/{content_id}/unpublishtakes it down: a published content becomesunpublishedand a play answersCONTENT_NOT_PUBLISHED.POST /content/v1/contents/{content_id}/archivearchives it: the content must be a draft or unpublished first (a published one is taken down first), and archived is final — no further edits or publishes.
Status is draft, published, unpublished or archived; readiness is processing, ready or failed, derived from Media’s transcoding.
Next steps
- Player: how a viewer starts a play once it is published.
- Limits and errors: what to do about
SOURCE_NOT_READY,CONTENT_NOT_PUBLISHEDand the other errors. - Customer directory: where viewers’ sign-in, blocks and usage are managed.