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.6.2b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0a45dd56c68157eebbe6faaf3857060eab601054b3a38d88ae5a18c3607a742 |
|
MD5 | 14579f9b603a6721df06b34568a55515 |
|
BLAKE2b-256 | 7f75b97b731a0add1e4408fb5422972bdb7a012b4cfafb9727a2e170553daf82 |
Close
Hashes for render_engine_youtube_embed-2023.6.2b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f556a6cc9ae1146c2f83048c1433fcdb9c2130b1eb41fe7e2e0cc2cad79c7e13 |
|
MD5 | 96782333c73603e6f3e00006d7bb5d01 |
|
BLAKE2b-256 | 84da8dd63791ca11a950af9b23d4a489ba5e184a8426391120dc902a83f0c6f0 |