Closed StevenKuo closed 4 years ago
This mean the URL you pass to XCDYouTubeKit is unavailable.
Is your network restricted?
Could you share the code that used XCDYouTubeKit
and maybe the video URL that cause the issue?
Can you let me know which version of the library you're using and the video identifier?
I can get URL by the others video identifier correctly, the error only happened by specific one.
XCDYouTubeKit (2.8.3) video identifier: cdqP6wI8TCc
@StevenKuo Thanks! I was able to reproduce this issue. I will look into it further
@StevenKuo The latest update should fix your issue, unfortunately, the video will have no audio. It appears YouTube is only serving itags that contain video only and no audio.
Could I know what did error mean?
[XCDYouTubeKit] Video operation finished with error: The operation couldn’t be completed. (XCDYouTubeVideoErrorDomain error -2.) Domain: XCDYouTubeVideoErrorDomain Code: -2 User Info: { }