0xced / XCDYouTubeKit

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

Get StreamUrls from Id is nil #554

Closed conghieu021299 closed 2 years ago

conghieu021299 commented 2 years ago

I am trying to get the video url from the id of the video. But the return result is nil.

XCDYouTubeClient.default().getVideoWithIdentifier(videoId, completionHandler: { video, error in // video is nil })

conghieu021299 commented 2 years ago

I fixed the error after using pod 'XCDYouTubeKit', :git => 'https://github.com/kbex-dev/XCDYouTubeKit.git'