Interface

UseHTMLTimelineMediaOptions

Options for wiring one native media element directly to timeline playback.

Signature

Type Definition
Interface UseHTMLTimelineMediaOptions

Type parameters

NameConstraintDefaultDescription
LayerNamestringstring

Properties

NameSignatureDescription
layerslayers: Record<LayerName, ActiveLayerSelector>Named active layer selectors used by the external media surface.
onError?(error: TimelineMediaError): voidReceives structured media failures with a stable machine-readable reason.
playbackOptions?playbackOptions?: Omit<PlaybackOptions, "clock">Core playback range and looping policy captured when each playback run begins.
sourcessources: typeOperatorComplete app-resolved source registry keyed by timeline clip `sourceId`.