Interface

CreateHTMLMediaAdapterOptions

Options for creating an imperative HTML media element adapter.

Usage notes

Sources are keyed by timeline clip `sourceId`. Values can be URLs, `Blob`s, or `File`s, which makes this useful for both persisted project media and user-selected local files.

Signature

Type Definition
Interface CreateHTMLMediaAdapterOptions

Properties

NameSignatureDescription
elementelement: HTMLMediaElementNative video or audio element to synchronize with the timeline.
sourcessources: Record<string, HTMLMediaAdapterSource>Media sources keyed by timeline clip `sourceId`.