Video(and audio) component for react-native apps, supporting both iOS and Android. A unified and elegant player controller is provided by default. The API is similar with HTML video.
Hello. I have an error:
<Video style={{width: 129, height: 120 / (16/9)}} src={'http://v.yoai.com/femme_tampon_tutorial.mp4'} autoplay={true} preload={'none'} loop={false} controls={true} muted={false} poster={'http://static.yoaicdn.com/shoppc/images/cover_img_e1e9e6b.jpg'}/>
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. Check the render method of Controls.
Hello. I have an error:
<Video style={{width: 129, height: 120 / (16/9)}} src={'http://v.yoai.com/femme_tampon_tutorial.mp4'} autoplay={true} preload={'none'} loop={false} controls={true} muted={false} poster={'http://static.yoaicdn.com/shoppc/images/cover_img_e1e9e6b.jpg'}/>
"react": "^0.14.7", "react-native": "^0.29.1" Thank you.