~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.
~Three~ two new exports for
@cassette/player
:MediaStatusBar
has one non-context prop:showPreviewTime
, a boolean~MediaProgressBar
andMediaProgressBarDisplay
will each accept ahandle
prop~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
andMediaProgressBarDisplay
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 exposingMediaStatusBar
- it's not incredibly useful on its own.