Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/realorangeone/wagtail-lite-youtube-embed
A Wagtail embed finder to use lite-youtube to embed YouTube videos
https://github.com/realorangeone/wagtail-lite-youtube-embed
wagtail
Last synced: 16 days ago
JSON representation
A Wagtail embed finder to use lite-youtube to embed YouTube videos
- Host: GitHub
- URL: https://github.com/realorangeone/wagtail-lite-youtube-embed
- Owner: RealOrangeOne
- License: bsd-3-clause
- Created: 2023-10-27T14:02:16.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-23T15:51:25.000Z (6 months ago)
- Last Synced: 2024-10-15T21:15:49.820Z (28 days ago)
- Topics: wagtail
- Language: Python
- Homepage: https://pypi.org/project/wagtail-lite-youtube-embed/
- Size: 21.5 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wagtail Lite YouTube Embed
![CI](https://github.com/RealOrangeOne/wagtail-lite-youtube-embed/workflows/CI/badge.svg)
![PyPI](https://img.shields.io/pypi/v/wagtail-lite-youtube-embed.svg)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/wagtail-lite-youtube-embed.svg)
![PyPI - License](https://img.shields.io/pypi/l/wagtail-lite-youtube-embed.svg)A Wagtail embed finder to use [`lite-youtube`](https://github.com/paulirish/lite-youtube-embed) 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:
```python
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.