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.1a2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d573357e27d6e50a32156e992dc8eee4c9ca49f556d797d7fad5ca3bdc21117 |
|
MD5 | 7d74488e71394520d7e112a96d98855f |
|
BLAKE2b-256 | e9acb002b36e8e3f8281e632dc2c96950f1c9655ae53a299a1acfae98055e6c8 |
Close
Hashes for render_engine_youtube_embed-2023.7.1a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4f37a1927c7848f9f5e33c1a88417f1ab833250ebe292f3f684eeaaecaabae6 |
|
MD5 | 51386c7d9713719dfbebdb62e9c84f07 |
|
BLAKE2b-256 | a296638882d1056678645f99eefdffce3b7d8dd3f5f5a118ea5edb833122db06 |