0xced / XCDYouTubeKit

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

Added array of thumbnail URLs and deprecated the single small thumbnail URL #477

Closed matteogobbi closed 4 years ago

matteogobbi commented 4 years ago

The array of thumbnails URLs contains several thumbnails in order of size. It would be great to have it available rather than only grab the smallest.

Thanks.

matteogobbi commented 4 years ago

Hey, sorry yesterday I had to update the pod spec pointing to my repository in order to use the library for my needs. It didn't mean to include that commit in this pull request.

SoneeJohn commented 4 years ago

@matteogobbi no problem :-)

SoneeJohn commented 4 years ago

Thanks for your contribution! I'll check it in more detail tomorrow :-)

matteogobbi commented 4 years ago

A change that you could do to make it even better is to also extract the size from the dictionary of the thumbnail.