0xced / XCDYouTubeKit

YouTube video player for iOS, tvOS and macOS
MIT License
2.92k stars 626 forks source link

Not able to run youtube video with XCDYouTubeKit in IOS 14. #499

Open Biplovkumar opened 3 years ago

Biplovkumar commented 3 years ago

Hi Admin, I am stuck from 2 Days. In IOS 14 not working. I have also manually linked too. YouTubeStandaloneIOS Not compatible with react native 0.69 react native.

Code:- ` playYoutube() { YouTubeStandaloneIOS.playVideo("KVZ-P-ZI6W4") .then(() => console.log('Standalone Player Exited')) .catch(err => console.log('errorMessage in you tub video :- ', err), alert('hi'))

}`

Packege.json:-

"react": "16.8.3", "react-native": "0.59.10", "react-native-youtube": "^2.0.1"

Pod File:- pod 'XCDYouTubeKit', '~> 2.14'

Error : Simulator Screen Shot - iPhone 11 - 2020-09-28 at 15 02 19

Biplovkumar commented 3 years ago

Plz help @0xced .

cristea2017 commented 3 years ago

Plz help @0xced .

wait a minute , this is react native :D you shoul use https://www.npmjs.com/package/react-native-ytdl and combine with