A Render Engine Plugin for replacing Youtube Links with Embed Links
Project description
Render Engine YouTube Link Embed Plugin
Note: This plugin is in the early development stage. It is not yet ready for production use.
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.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50ca3fb8c56a731cf0d3ca8bf036f712bdfe20bb77aea68936cd95116a74903e |
|
MD5 | b51340b2b0b121dbc00e4a343c0b7a1d |
|
BLAKE2b-256 | bf06f2dea1936490a7ecd86e005d60b9f00e2ba001dec4496f50d9fb220731c2 |
Close
Hashes for render_engine_youtube_embed-2023.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff0496d8a9a6c76ee16ab6b5551e78ea367a55c78762ff9066df28e59d30aa10 |
|
MD5 | c33ecf1979cb0161918ce79d4186bc13 |
|
BLAKE2b-256 | 87809468c6605f9fa0ea3083e138449ed6849e7caeec666205b97e6eaf642c4b |