react-native-native-video-player
react-native-native-video-player copied to clipboard
react-native can't read property showVideoPlayer of undefined
when I call it like stated in docs :
var VideoPlayer = require('react-native-native-video-player');
/**
* The method will launch native module
* @param {String} url Video link
*/
VideoPlayer.showVideoPlayer(url);
I got this error
react-native can't read property showVideoPlayer of undefined
when I run console.log(VideoPlayer)
just before I call showVideoPlayer
the log show the object and the method showVideoPlayer
defined inside it
any help will be appreciated.
I have the same issue, any solutions?
Hi @peterWilson34 ,
Which platform are you running on? If it's Android, please check if you already include all required packages, Or if it's IOS, check that you already config as the Guideline in ReadMe.
Thanks.
Check if you linked the library correctly using react-native link react-native-native-video-player
or manually.
I have Follow step but not working in ios Please Give me Solution in react-native 60.3
$(SRCROOT)/../../../ios/Videoex