TVideoControls

type
Media

Controls rendering strategy for OrigamVideo — custom Origam UI, native browser controls, or no controls at all.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Accepted

Values

Accepted string literal values for this type. Click a value to copy it.

none
Neither the custom nor the native toolbar is rendered. The consumer drives playback programmatically through the #controls slot or the exposed composable methods.
custom
The component paints its own toolbar with play/pause, scrubber, volume, captions, PIP and fullscreen buttons. The <video> element is rendered WITHOUT the native controls attribute. Default.
native
The <video> element receives the native controls attribute and the browser paints its own toolbar. Useful for AirPlay on Safari or inside Tauri shells that talk to native players.

Ecosystem

Used by

Components and props that accept this type as a value.

Usage

Examples

Ready-to-paste code snippets using this type.

Programmatic playback with controls="none"

html