react-use
react-use copied to clipboard
useVideo.story.tsx - sampleVideo can not be loaded
The sample video can not be loaded
go to https://streamich.github.io/react-use/?path=/story/ui-usevideo--demo open the useVideo-story in chromeBrowser - in network-tab of the BrowserDeveloperTools you can see the video can not be loaded. The browser tries to load the video over https, but the video is served over http.
A little about versions:
- OS: MacOS 13.4.1
- Browser (vendor and version): Chrome - Version 115.0.5790.114 (Offizieller Build) (x86_64)
it seems since chrome uses stricter security, loading this video does not work
to serve the video over https should solve this issue. :)
video sample over https is available here https://www.w3schools.com/tags/mov_bbb.mp4
The sample video can not be loaded
made changes in a pull request https://github.com/streamich/react-use/pull/2515
waiting for approval
i tested this branch and the useVideo-story-issue is solved now and useFullscreen.story works too.