@techsquidtv/canvas-timeline-html-media-adapter
packages/html-media-adapter/src/index.ts
Common Entry Points
Start with these essential APIs, then check the full reference index below.
useHTMLTimelineMedia
Create a native media adapter and bind it to timeline-synchronized playback.
FunctioncreateHTMLMediaAdapter
Create an adapter that maps active timeline clips to one HTMLMediaElement.
FunctionuseHTMLMediaAdapter
Create and dispose a native media adapter without requiring stable source-array identity.
InterfaceHTMLMediaAdapter
Timeline media sync adapter backed by one HTMLMediaElement.
API Index
Exhaustive list of all public exports grouped by category.
Interface
7Options for creating an imperative HTML media element adapter.
HTMLMediaAdapterTimeline media sync adapter backed by one HTMLMediaElement.
HTMLMediaSourceStateObservable lifecycle and input state for one HTML media source.
UseHTMLMediaAdapterOptionsOptions for creating an HTML media adapter from React.
UseHTMLMediaAdapterResultReact hook result for native HTML media timeline synchronization.
UseHTMLTimelineMediaOptionsOptions for wiring one native media element directly to timeline playback.
UseHTMLTimelineMediaResultTimeline transport state plus the underlying native media adapter.
Type Alias
2Function
3Create an adapter that maps active timeline clips to one HTMLMediaElement.
useHTMLMediaAdapterCreate and dispose a native media adapter without requiring stable source-array identity.
useHTMLTimelineMediaCreate a native media adapter and bind it to timeline-synchronized playback.