Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 643 Bytes

DESCRIPTION.rst

File metadata and controls

29 lines (18 loc) · 643 Bytes

django-youtube-thumbnail

Quickly pull the highest resolution thumbnail image available for a YouTube video.

Quick Start

  1. Install the package from pypi:

    pip install django-youtube-thumbnail
  2. Add "youtube_thumbnail" your INSTALLED_APPS:

    INSTALLED_APPS = (
        ...
        'youtube_thumbnail',
    )
  3. Use the provided template tag to get the thumbnail

    {% load youtube_thumbnail %}
    <img src="{% youtube_thumbnail_url 'https://www.youtube.com/watch?v=dQw4w9WgXcQ' %}">