Closed conghieu021299 closed 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 })
I fixed the error after using pod 'XCDYouTubeKit', :git => 'https://github.com/kbex-dev/XCDYouTubeKit.git'
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 })