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.3.2a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0eac75b9e9b78438325b5f258e7129af1456a20371541e1fcd1576e3c4b91cec |
|
MD5 | ba516a974461c4728999210345124d6c |
|
BLAKE2b-256 | a06ade2f159e2732010487a8a83a789ef5b4286249505f50c4140ff990176542 |
Close
Hashes for render_engine_youtube_embed-2023.3.2a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9b29195bcf3abc1d8bc5ac66f46d609513fbe0aad50a936692e0ab67c34e4f4 |
|
MD5 | 50758832079a3070a1201595c56d7e4a |
|
BLAKE2b-256 | 133625ca779efb51ba1e721cadf0afa15493ba03d04be1d7477d665413b69f8a |