Interface

UseHTMLMediaAdapterResult

React hook result for native HTML media timeline synchronization.

Signature

Type Definition
Interface UseHTMLMediaAdapterResult

Properties

NameSignatureDescription
adapteradapter: HTMLMediaAdapterImperative adapter managed for the mounted media element.
elementelement: HTMLMediaElement | nullCurrently connected native media element.
mediaRefmediaRef: RefCallback<HTMLMediaElement>Stable callback ref that connects the native media element to the adapter.
readyready: booleanWhether a native media element is connected and an imperative adapter exists.