player
player copied to clipboard
`useMediaState` hook throwing error
Current Behavior:
Attempting to use the React vidStack (1.12.11) from the installation docs and running into an error:
Was able to pull this package down and trace it to these lines:
https://github.com/vidstack/player/blob/main/packages/react/src/hooks/use-media-state.ts#L37 and https://github.com/vidstack/player/blob/main/packages/react/src/hooks/use-media-state.ts#L57
Commenting them out seems to allow the video player to render.
Expected Behavior:
Video player should render
Steps To Reproduce:
Follow React -> Video -> Default Layout in the docs
Reproduction Link: How to create a repro?