YouTube with react native is not working -


i take reference official website https://www.npmjs.com/package/react-native-youtube , use command https://www.npmjs.com/package/react-native-youtube

when launch ios emulator , empty view , why? enter image description here

here package version:

  "dependencies": {     "expo": "^19.0.0",     "firebase": "^4.2.0",     "react": "16.0.0-alpha.12",     "react-native": "https://github.com/expo/react-native/archive/sdk-19.0.0.tar.gz",     "react-native-router-flux": "^3.41.0",     "react-native-youtube": "^1.0.0-beta.3",     "react-redux": "^5.0.6",     "redux": "^3.7.2",     "redux-thunk": "^2.2.0"   }, 

i use code official:

        <youtube             videoid='kvz-p-zi6w4'             play={true}             // control playback of video true/false             fullscreen={true}       // control whether video should play in fullscreen or inline             loop={true}             // control whether video should loop when ended             onready={e => this.setstate({ isready: true })}             onchangestate={e => this.setstate({ status: e.state })}             onchangequality={e => this.setstate({ quality: e.quality })}             onerror={e => this.setstate({ error: e.error })}             style={{ alignself: 'stretch', height: 300 }}         /> 

some 1 can tell me step may miss ?

thanks in advance.

i find file https://github.com/irccloud/ios/blob/master/ytplayerview/assets/ytplayerview-iframe-player.html , creat under assets folder , step should next ? complie still blank view.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -