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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file render_engine_youtube_embed-2023.7.2.tar.gz.
File metadata
- Download URL: render_engine_youtube_embed-2023.7.2.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da9edcf3300695cf5e13bec1d72193a5fa392f25e4de1619652efba6f07a95fe
|
|
| MD5 |
c7e20e443f9b33b3ea67609b83539085
|
|
| BLAKE2b-256 |
36d8735eca87938c9ddd175e7281b125ff7a6736f82a9ca782e9d51eb3edbd3f
|
File details
Details for the file render_engine_youtube_embed-2023.7.2-py3-none-any.whl.
File metadata
- Download URL: render_engine_youtube_embed-2023.7.2-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcd820719b5828ea57ffe470bdc71c7a166540451662db427083f6c3411f253d
|
|
| MD5 |
c1773d4bc38e73a81e825b2fdacb1383
|
|
| BLAKE2b-256 |
a50269a09efdf7c67bac2a33ed54a9367823064a4fd8c59b309eea187bae9cb0
|