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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -