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.7.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68732018aa1f852aeae4a31b1882f1b3cdea37c71653b11c9a3845957e055b14 |
|
MD5 | cc9e28ad7d34c6c604b09404d796d4a0 |
|
BLAKE2b-256 | 323cc8827e39a37518512b26d555a3eb34ab83b10599e0ed54d8f96f6f5348fb |
Close
Hashes for render_engine_youtube_embed-2023.7.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47a3fdd4691e2a38c4af79db58fd1b269e9ae3dc36ad9d73a94d7c2812417938 |
|
MD5 | 4ca72439f8faf7a8dff3082b4da97f86 |
|
BLAKE2b-256 | d9cde32f29b600842012b14fe07ac16327f4796123dca203662af9a2371d4f37 |