A Wagtail embed finder to use lite-youtube
for more efficient and private YouTube embeds.
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.