android - Undefined is not an object (evaluating '_reactNative.Nativemodules.UIManager.RCTVideo.Constants') -


hi trying use video player react native, , came across package: https://www.npmjs.com/package/react-native-video#todos

i ran npm install react-native-video
react-native link

import video "react-native-video"; class topics extends component {   constructor(props){     super(props);   }   render(){     return(       <video source={{ uri: './videos/asthma-1.mp4' }} />     )   } } 


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -