Interface

UseHTMLTimelineMediaOptions

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

Signature

Type Definition
Interface UseHTMLTimelineMediaOptions

Type parameters

NameConstraintDefaultDescription
LayerNamestringstringNo type parameter summary yet.
TMediaElementHTMLMediaElementHTMLMediaElementNo type parameter summary yet.

Properties

NameSignatureDescription
layerslayers: Record<LayerName, ActiveLayerSelector>Named active layer selectors used by the external media surface.
onError?(message: string): voidCalled when no content exists or no active layer clip is available.
refref: RefObject<TMediaElement | null>Ref containing the media element once React has mounted it.
sourcessources: Record<string, HTMLMediaAdapterSource>Media sources keyed by timeline clip `sourceId`.