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-0.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b17a2d2264c832558153ea2ae4615a827132d25aeb046de9ab2fb3a3f523e46 |
|
MD5 | 40ab7dc7866e14efeaa1ef07bcfeaeed |
|
BLAKE2b-256 | 97f3841a3f11ac7a6a8adcf779b4f70f59ab9e47770d23167bea6798c2766b53 |
Close
Hashes for render_engine_youtube_embed-0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbf8ff7b1d7448ec04d5e61bed0a7bff3e286d0784bb518ae16a899d0f34c488 |
|
MD5 | 395b0139f21a41bbca8a63cf17185dfd |
|
BLAKE2b-256 | b8840d6d76ad092b2b2decb0b4b9d161b186e41d071d784a6a9ef13639c6fc08 |