0xced / XCDYouTubeKit

YouTube video player for iOS, tvOS and macOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Biplovkumar opened this issue · comments

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

Plz help @0xced .

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