Reputation: 565
I am developing a function that when clicking an mp4 video, I should open it in a native way, just like clicking mp4 file on file browser. I do know that there are a lot of dependencies that allow me play videos inside react native, I just consider that playing video in native way provides more options for users and lesser bugs whenever save or share it. So, do you guys have any ideas that allow open the video file in a native way? Very thanks!
Upvotes: 1
Views: 958
Reputation: 565
I have found a way that by using react-native-viewer can open the mp4 file natively
Upvotes: 1
Reputation: 401
You need to implement react-native-video for online streaming and if you have downloaded file then you can just use Linking by react-native
Upvotes: 1