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.9.1a2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14dd1aa7370b71dc977a21ef1c58a29f740e079aadcd3ff7ec1b074e9dd7fc94 |
|
MD5 | 4cf88c3f9a1a39619bc940fb4a52a3c6 |
|
BLAKE2b-256 | 930de4bcc45187654f42641b3dc3cffd2763a3d5486a7b9eedb326eacc5743a4 |
Close
Hashes for render_engine_youtube_embed-2023.9.1a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e01e3cb598caf90b1838ed2dfde173e60210803887c1117a80a508a7493a1c88 |
|
MD5 | 67892a2d444810d81f34b664612058b7 |
|
BLAKE2b-256 | 973cbbdf04a333cde7e7e6838650b81f0d4403a2cdf42d64194b12c06e7452fc |