benwiley4000 / cassette

📼 A flexible media player component library for React that requires no up-front config
https://benwiley4000.github.io/cassette/styleguide
MIT License
185 stars 28 forks source link

Expose MediaStatusBar, MediaProgressBar, MediaProgressBarDisplay #339

Closed benwiley4000 closed 5 years ago

benwiley4000 commented 5 years ago

~Three~ two new exports for @cassette/player:

~We should update the styles in https://github.com/benwiley4000/cassette/blob/next/packages/player/src/styles/_MediaStatusBar.scss so the status bar is only position: absolute if inside of the media progress container.~

~And there should perhaps be a new MediaProgressBar scss file, so the afforementioned styles can go in MediaProgress.~

ETA: We'll export MediaProgressBar and MediaProgressBarDisplay from @cassette/components since they could be used in an app that doesn't use the default player controls at all. And let's skip exposing MediaStatusBar - it's not incredibly useful on its own.