Prefer custom elements? Everything here is also available as
Web Components. Use the React / HTML tabs at
the top of the Components section.
How it works
The kit is three layers on top of one engine. Stop at whichever layer gives you the control you need:- Player Provider: a thin React wrapper around the player JavaScript SDK. It mounts the player, holds the instance, and shares it with everything inside. This is the foundation everything else sits on.
- Components: small, minimal primitives like Play Pause Button and Progress Bar. You bring the styling.
- Examples: complete, pre-assembled players such as Standard Player that you drop in and tweak, or read as a worked example of how the primitives fit together.
- It reads state with
usePlayerSelector, which re-renders only when the selected value changes. A time display updating every frame won’t re-render your play button. - It drives the player by emitting events built with
newEvent. This is the same path the standard player UI uses, so analytics, ads and segment logic stay correct. Simple state such asplaybackRatecan also be set directly on the instance.
Next steps
Setup
Install the components and build your first player.
Components
Browse the minimal building blocks.
Theming
Restyle the components to match your brand.
Examples
Drop in a complete, pre-built player.