@cassette/components
v2.0.0-beta.4
Published
A simple, clean, and responsive visual wrapper for the HTML audio tag, built with React.
Downloads
91
Maintainers
Readme
@cassette/components
@cassette/components
contains some convenient React component building blocks which can be used in media player user interfaces created with @cassette/core
.
Installation
npm install @cassette/components
Components included:
MaybeMarquee
- used to make content scroll in marquee fashion, only when the container area is too small for all the content to be displayed at onceProgressBar
- a vertical or horizontal progress bar element which can be manipulated by mouse or touchProgressBarDisplay
- a non-interactive version ofProgressBar
MediaProgressBar
- aProgressBar
connected to the media playback of the surroundingplayerContext
MediaProgressBarDisplay
- a non-interactive version ofMediaProgressBar
VideoDisplay
- a display canvas for the video content from the surroundingplayerContext