-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maxresdefault thumbnail #373
Comments
Is there an example video id, if it is okay? I think only some videos have that size thumbnail. |
I am fetching youtube "mqdefault" thumbnails to show previews of user's videos here: https://www.viedit.com/movies
The reasons why this resolution is important:
|
Looks like it's working with > Yt::Video.new(id: "QwMuzQk-JTs").thumbnail_url(:maxres)
"https://i.ytimg.com/vi/QwMuzQk-JTs/maxresdefault.jpg" |
Method: video.thumbnail_url
Method returns:
(String) — if size is default, the URL of a 120x90px image.
(String) — if size is medium, the URL of a 320x180px image.
(String) — if size is high, the URL of a 480x360px image.
(nil) — if the size is not default, medium or high.
How we can get maxresdefault thumbnail (from "https://img.youtube.com/vi/#{video_id}/maxresdefault.jpg") ?
The text was updated successfully, but these errors were encountered: