XCDYouTubeKit
XCDYouTubeKit copied to clipboard
TypeError: Cannot read property 'playVideo' of null IOS
Pod File :- pod 'XCDYouTubeKit'
Package.json :- react-native-youtube": "^2.0.1", "react": "16.10.2", "react-native": "0.59.9",
Code :-
try{
YouTubeStandaloneIOS.playVideo(video-ID)
.then(() => console.log('Standalone Player Exited'))
.catch(err => console.log('errorMessage in you tub video :- ', err))
}catch(error){
console.log('Standalone Player Exited catch', error)
}
HI, Greetings of the day. i had tried a lot with linking (Manually,Automatic) but same error coming from a day. i am stuck there. previously it is working fine but not working in ios 13.6/13.7 so i updated react-native-youtube version. but now it is not working. please help.
plz have a look @0xced .