Replies: 2 comments 1 reply
-
Hey wow, sorry for the late response! I totally forgot about the new discussions tab. I Think it's definitely a good idea to add this as a PSA, and perhaps list some workarounds like
|
Beta Was this translation helpful? Give feedback.
1 reply
-
This has been fixed with The iframe code defaults to a hosted page on https://lonelycpp.github.io/react-native-youtube-iframe/iframe.html Since this overcomes the empty base URL issue - rogue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The docs under Basic Usage should have a limitations section similar style to this https://reactnavigation.org/docs/limitations
I've used this library as well as many others react-native-video etc and found that there is a significant limitation with being able to play certain copyrighted videos on Mobile applications (Specifically React Native).
Limitations
While this library does allow you to play youtube videos in your mobile app, keep in mind if the youtube video is copyrighted or embed mode is disabled then it will not render and you will get video unavailable. A workaround is described here that allows you to play ANY youtube video on your mobile app but requires a bit more work.
Helpful Links:
See Method 4
https://surajmdurgad.medium.com/embedding-youtube-videos-in-a-react-native-app-8c556a18fd76
I've also tested these libraries, they don't work either, only the Iframe of an Iframe inside a Website works.
This will help save developers and maintainers time if the library they are using explicitly defines its limitations / scope. Let me know your thoughts!
Beta Was this translation helpful? Give feedback.
All reactions