YouTube video player for iOS, tvOS and macOS
XCDYouTubeErrorUnknown
error code (#484, #491)XCDYouTubeErrorTooManyRequests
error code (comment)XCDYouTubeErrorNoStreamAvailable
codestreamURL
as nullable
(#482)XCDYouTubeErrorEmptyResponse
error (#479)-[XCDYouTubeVideo thumbnailURL]
use -[XCDYouTubeVideo thumbnailURLs]
(#477)languageIdentifier
argument as nullable
in XCDYouTubeVideoOperation
author
, videoDescription
and channelIdentifier
properties to XCDYouTubeVideo
(#471)streamURLs
to query via -[XCDYouTubeClient queryVideo:video:streamURLsToQuery:options:cookies:completionHandler:]
& XCDYouTubeVideoQueryOperation
class.
initWithVideo:streamURLsToQuery:options:cookies:
is now the designated initializer for XCDYouTubeVideoQueryOperation
.streamURLs
& streamErrors
properties as nullable
.-[XCDYouTubeClient queryVideo:video:cookies:completionHandler:]
completion handler is now correctly called on the main thread.streamErrors
may contain the NSLocalizedRecoverySuggestionErrorKey
key in -[NSError userInfo]
when NSURLErrorNetworkConnectionLost
is reported, this may indicate the file is incomplete on YouTube's server.XCDYouTubeVideoQueryOperation
class.-[XCDYouTubeVideoQueryOperation description]
.XCDYouTubeVideo
for reachable streams via -[XCDYouTubeClient queryVideo:video:cookies:completionHandler:]
& XCDYouTubeVideoQueryOperation
classvideoIdentifiers
property in XCDYouTubeVideo
(#290)-[XCDYouTubeClient getVideoWithIdentifier:cookies:customPatterns:completionHandler:]
& initWithVideoIdentifier:cookies:languageIdentifier:customPatterns
(#463, #199)viewCount
property in XCDYouTubeVideo
(#460)