Skip to content

RealOrangeOne/wagtail-lite-youtube-embed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wagtail Lite YouTube Embed

CI PyPI PyPI - Python Version PyPI - License

A Wagtail embed finder to use lite-youtube for more efficient and private YouTube embeds.

Installation

pip install wagtail-lite-youtube-embed

Then, configure WAGTAILEMBEDS_FINDERS to use LiteYouTubeEmbedFinder before the default OEmbed finder:

WAGTAILEMBEDS_FINDERS = [
    {
        "class": "lite_youtube_embed.LiteYouTubeEmbedFinder",
    },
    {
        "class": "wagtail.embeds.finders.oembed",
    },
]

Note: This library does not configure your frontend to use lite-youtube - you will need to install and load this yourself.