-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read external video #7
Comments
I use React Player to read video from external source. On one issue i find someone that have haved PeerTube support He published his custom package : And used it in this project : Usage The production app The app read video from MSH Paris Nord PeerTube instance |
I faced ORB issue. When examinating Request headers Fetching from Mirador Video Fetching from Celluloid One way to explore is : Sec-Fetch-mode |
I have cloned and run Celluloid/ReactPlayer I was able to run some video from peertube inside the react demo app. |
I resolve ORB issue by using right config for ReactPlayer Afterward i Have issue from ref management. I have been able to solve it with playerRef.current.getInternalPlayer to get the ref on the video element. Now I'm facing positionning issue and scale issue. Basically css must be the way |
When fixing annotation I discover issue on Youtube video playing. VideoViewer include two main components : ReactPlayer and AnnotationOverlayVideo AnnotationOvelrayVideo use a ref to communicate with the video element. At this moment, it's not so clear why AnnotationOverlayVideo need to control video on ComponentDidUpdate. i discover different comportment between classic file and Youtube playing. With classique file I can use video.paused or video.play(). With Youtube I can use video.playVideo(). |
Some explication come from ReactPlayer Docs. https://github.com/cookpete/react-player Two way to go further :
|
Not exhaustive list of bug :
|
Positionning issues, need to implement :
|
A big part of the playing issues are solved We migrate to React Player. Available inside MV 1.0.10 package. |
The text was updated successfully, but these errors were encountered: