Skip to content

Thumbnail and duration - #111

Open
dpizzuto wants to merge 1 commit into
mariohahn:masterfrom
dpizzuto:master
Open

Thumbnail and duration#111
dpizzuto wants to merge 1 commit into
mariohahn:masterfrom
dpizzuto:master

Conversation

@dpizzuto

Copy link
Copy Markdown

Referred to issue 109
The original implementation was did with API v2 which are deprecated
right now. I replaced the old implementation with the new that requires
an API key generated from Google Api Console, this key must be
specified at row 6 of MHGallery.m through the const string
MHYoutubeApiKey. Really, only the duration need to be called via v3 API
because the thumbnails are available without API call (a little trick).
I know that’s a quick and dirty solution in fact, the rest part of
library will have to be modified.

The original implementation was did with API v2 which are deprecated
right now. I replaced the old implementation with the new that requires
an API key generated from Google Api Console, this key must be
specified at row 6 of MHGallery.m through the const string
MHYoutubeApiKey. Really, only the duration need to be called via v3 API
because the thumbnails are available without API call (a little trick).
I know that’s a quick and dirty solution in fact, the rest part of
library will have to be modified.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant