A Render Engine Plugin for replacing Youtube Links with Embed Links
Project description
Render Engine YouTube Link Embed Plugin
This plugin allows you to quickly embed a Youtube video into your page by adding the youtube link to the page on its own line.
---
slug: new-youtube-video
---
Check out this new video!
https://www.youtube.com/watch?v=QH2-TGUlwu4
This extension will change the content to
---
slug: new-youtube-video
---
Check out this new video!
<iframe src="https://www.youtube.com/embed/QH2-TGUlwu4" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
This also works for the following YouTube links:
- Long Links with video ID in query string -
https://www.youtube.com/watch?v=QH2-TGUlwu4
- Long Links with video ID in path -
https://www.youtube.com/watch/QH2-TGUlwu4
- Youtube Shorts Links -
https://www.youtube.com/shorts/QH2-TGUlwu4
- YouTube short links -
https://youtu.be/QH2-TGUlwu4
Note: It does not work for playlists or channels.
Installation
Install the package using pip:
pip install render-engine-youtube-link-embed
TODO:
- Add support for site settings (Not yet implemented in render engine yet)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for render_engine_youtube_embed-2023.10.2a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1bde63c6657450e8b4f768f13bf92c38ea6f3a6216af26c30924c8a024a8bc6 |
|
MD5 | db7cb50028b8fc3dba6b435779ff70c6 |
|
BLAKE2b-256 | 9a08a701ec200f780f2483c6f3fc45b0b49c705e6a0d3f1dfd07f53d756a9087 |
Close
Hashes for render_engine_youtube_embed-2023.10.2a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 344c7fe34037d662eb2024c3c9c2e95737637cfe5b47a3d357a8e074cd133af9 |
|
MD5 | 12fa449141fc4c813e8cf62c3edf0d44 |
|
BLAKE2b-256 | 6a2d5cbf7f4e7149d59558135c816df75d625e77264e382feb3c9a667c18c27f |