Interface

UseHTMLMediaAdapterOptions

Options for creating an HTML media adapter from a React ref.

Signature

Type Definition
Interface UseHTMLMediaAdapterOptions

Type parameters

NameConstraintDefaultDescription
TMediaElementHTMLMediaElementHTMLMediaElementNo type parameter summary yet.

Properties

NameSignatureDescription
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`.