When playing live video with id "AtXZJM8rQfg" for example, it runs fine on iOS, but it does not work on Android. If it plays normal videos then it runs fine on both platforms.
<YouTube
apiKey="API_KEY"
videoId="AtXZJM8rQfg" // The YouTube video ID
play={true} // control playback of video with true/false
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={styles.youtubePlayer}
/>
Application Target Platform: Android
Development Operating System: Mac OS X El Capitan
Build Tools: 25.0.3
React Native version: 0.49.3
React Native Youtube Version: v1.0.0-beta.3
it is working from my side, but it stop every second so i have have to press the play icon every time.
@Moussawi7 I'll have to test this.. never tried live video
After rebuild with build tools 26.0.2 this works on android 6.0 (Nougat) and above. On android version below 5.1 (Lollipop) runs a black blank with sound only.
@jokopurnomoa probably an issue with the native module
it is working from my side, but it stop every second so i have have to press the play icon every time.
@Moussawi7 Hiii, I am facing the same problem and found this issue closed. Did you get that fixed?
Most helpful comment
it is working from my side, but it stop every second so i have have to press the play icon every time.