Skip to content

Commit

Permalink
Closes #43. Max resolution of YouTube thumbnail
Browse files Browse the repository at this point in the history
  • Loading branch information
yetty committed Oct 16, 2014
1 parent 09f8aa1 commit 489db89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embed_video/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ class YoutubeBackend(VideoBackend):
)

pattern_url = '{protocol}://www.youtube.com/embed/{code}'
pattern_thumbnail_url = '{protocol}://img.youtube.com/vi/{code}/hqdefault.jpg'
pattern_thumbnail_url = '{protocol}://img.youtube.com/vi/{code}/maxresdefault.jpg'
default_query = EMBED_VIDEO_YOUTUBE_DEFAULT_QUERY

def get_code(self):
Expand Down

0 comments on commit 489db89

Please sign in to comment.