Skip to main content

Lektor template filter to convert youtube links to embeds

Project description

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'}) }}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lektor-youtube-embed-0.2.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

lektor_youtube_embed-0.2.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file lektor-youtube-embed-0.2.0.tar.gz.

File metadata

  • Download URL: lektor-youtube-embed-0.2.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.8.10 Linux/5.4.0-88-generic

File hashes

Hashes for lektor-youtube-embed-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e1540e97bcdd26df983c8037e1459beab5ce08ceb08e855bfc411f449c7d8140
MD5 3b2da566131560a3db475adf432a4a87
BLAKE2b-256 fe81781220d56ce189eefbfa376c1323074dec909a9c4db31ad4f4365f04a2aa

See more details on using hashes here.

File details

Details for the file lektor_youtube_embed-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for lektor_youtube_embed-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 12ed219cff2ca826ea649328c5a4e2b1e66293c1fe3a1cc7d5336b3ea4cb3e38
MD5 fa0c8fa39b13bc5a45f50c4f57b0af43
BLAKE2b-256 7d66cb774e866fbec903835b7b64da1543ef9a298ea39b341e0734a18fd9c0ed

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page