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.2b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09c3cce8185f5c5b97638181f3a770f6ad69dbe9e2d312738dcff6ec625f675b |
|
MD5 | cd139ec459c715c96e181b614fcf2743 |
|
BLAKE2b-256 | 0536392ede0d2f10561fcc850494a3d72897a3ffc29ed034b703ade424c5fcd2 |
Close
Hashes for render_engine_youtube_embed-2023.10.2b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f01e42146ad586eae99cb4f69782ae268a0f910ed08ac7d6a7edceaabe6c4c4 |
|
MD5 | a4b322eccb60606b91fb9e40c1c0db52 |
|
BLAKE2b-256 | fd1351b0db1f94673a43ad79e690d3ebcb253b5f080f48990b2dbe2478e024ef |