cigar-factory / lektor-youtube-embed

Lektor template filter to convert youtube links to embeds

Home Page:https://pypi.org/project/lektor-youtube-embed/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lektor-youtube-embed

Run tests codecov PyPI Version License Python Compatibility Code style: black

Lektor template filter to convert youtube links to embeds

Installation

pip install lektor-youtube-embed

Usage

{{ "https://www.youtube.com/watch?v=9Yk9iRDESDo" | youtube }}
{{ "https://youtu.be/BdXDT-5jci0" | youtube(width=640, height=480, attrs={'class': 'video'}) }}

About

Lektor template filter to convert youtube links to embeds

https://pypi.org/project/lektor-youtube-embed/

License:MIT License


Languages

Language:Python 70.2%Language:Shell 20.7%Language:Makefile 9.1%