Signature
Interface UseHTMLTimelineMediaOptionsType parameters
| Name | Constraint | Default | Description |
|---|---|---|---|
LayerName | string | string | No type parameter summary yet. |
TMediaElement | HTMLMediaElement | HTMLMediaElement | No type parameter summary yet. |
Properties
| Name | Signature | Description |
|---|---|---|
layers | layers: Record<LayerName, ActiveLayerSelector> | Named active layer selectors used by the external media surface. |
onError? | (message: string): void | Called when no content exists or no active layer clip is available. |
ref | ref: RefObject<TMediaElement | null> | Ref containing the media element once React has mounted it. |
sources | sources: Record<string, HTMLMediaAdapterSource> | Media sources keyed by timeline clip `sourceId`. |