CnVideoWidget
Video widget supporting YouTube/Vimeo/PeerTube embeds and Nextcloud-file/HTML5 playback.
Part of the dashboard widget library (v2). Registered with the dashboard widget registry and consumed by MyDash/LaunchPad's widget grid. See the widget library overview and docs/architecture/cards-and-widgets.md.
Reference
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
content | object | \{\} | Persisted content blob {sourceType, videoUrl, fileId, fileStreamingUrl, autoplay, muted, loop, controls, aspectRatio, posterUrl, error}. videoUrl is the canonical embed URL; error (when set) triggers the error placeholder. | |
placement | object | null | The placement record (reserved — kept to match the renderer contract). |