Dumb and (re)useful React components for media players.
The modular React components designed for building media player interfaces offer a flexible way to create custom player controls. This library provides a lightweight and easy-to-learn API, enabling developers to construct their own media interfaces without the need for extensive boilerplate or out-of-the-box styles. It is particularly useful for those who want to maintain control over the design and layout while ensuring functionality within the media player context.
Although the components are purely focused on user interface elements rather than handling actual media, they come equipped with valuable implementation recipes and examples to facilitate a smooth setup. This allows developers to get started quickly and effectively leverage these tools to fulfill their unique media playback requirements.
<FormattedTime />
component easily formats seconds into a player-friendly format (m:ss or h:mm:ss), enhancing user experience.<Slider />
component supports volume control and progress bars while allowing developers to manage the state independently, offering great flexibility.<PlayerIcon />
acts as a holder for various icon components, with props being passed directly to the underlying SVG elements to maintain consistency.