0xced / XCDYouTubeKit

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

is there a way the error object used to identify the id of the video? #472

Closed Franknxtn closed 4 years ago

Franknxtn commented 4 years ago

if i try to call getVideoWithIdentifier in quick succession from an array of videoIDs, lets say some of the video throws an error (timeOut, Region restriction etc.) and some don't, I need to figure out which videoID the error belongs to.

Furthermore, is there a way to cancel previous getVideoWithIdentifier calls if the request has not completed(i.e, Completion Block is not called ye)? That would help to solve the aforementioned scenario.