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.2b3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5c3b1b085998e6749a721334f0078f2262f024cea969704e845167046378178 |
|
MD5 | 40eb07f6cd43041ad75942ed212c720d |
|
BLAKE2b-256 | 40afd464236ea0297c55c4a9cb47a13c53f4ecb82d2f8539f21879e498b4a4f4 |
Close
Hashes for render_engine_youtube_embed-2023.10.2b3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa5faf071496d42ce397e6e556549f1c26f4815c94d43fcabde2e56a4e948295 |
|
MD5 | 877763047e1208ea097199b679d430aa |
|
BLAKE2b-256 | fb46af40daf22567a1acfdc2b4cf513d3ca44e62d31c6bcf5ceaeb2269ea8fe4 |