TAudioControls
type
Media
Controls rendering strategy for OrigamAudio — custom Origam UI or native browser controls.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Accepted
Values
Accepted string literal values for this type. Click a value to copy it.
- custom
- Renders the OrigamMediaController shell on top of the <audio> element. The native controls attribute is suppressed. Default.
- native
- Passes the native controls attribute to the <audio> element and lets the browser paint its own bar. No custom UI is rendered.
Ecosystem
Used by
Components and props that accept this type as a value.
Usage
Examples
Ready-to-paste code snippets using this type.
Custom vs native controls