Easily embed Vimeo videos in your posts
Project description
Pelican Vimeo is a plugin to enabled you to embed Vimeo videos in your pages and articles.
Installation
To install pelican-vimeo, simply install it from PyPI:
$ pip install pelican-vimeo
Then enabled it in your pelicanconf.py
PLUGINS = [
# ...
'pelican_vimeo',
# ...
]
Usage
In your article or page, you simply need to add a line to embed you video.
.. vimeo:: VIDEO_ID
Which will result in:
<div class="vimeo" align="left">
<iframe width="420" height="315" src="https://player.vimeo.com/video/VIDEO_ID" frameborder="0"></iframe>
</div>
Additional arguments
You can also specify a width, height and alignment
.. vimeo:: 37818131
:width: 800
:height: 500
:align: center
Which will result in:
<div class="vimeo" align="center">
<iframe width="800" height="500" src="https://player.vimeo.com/video/37818131" frameborder="0"></iframe>
</div>
License
MIT license.
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 pelican_vimeo-0.1.1.tar.gz.
File metadata
- Download URL: pelican_vimeo-0.1.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3be85bfb82526d6038e1db9b404b1d83d10e41332a6bd17eff8a75cd039bd2e8
|
|
| MD5 |
a92380fe7c0846c1bcc31734e4a7efb6
|
|
| BLAKE2b-256 |
0b2f56cb8288e8ff09079d597b294b86b674e28e8a65a6e287b9cdc4e4e00b41
|
File details
Details for the file pelican_vimeo-0.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: pelican_vimeo-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb7913bb1032a212d3aee379607b227ecb607b858d6b647ba545a6768778912a
|
|
| MD5 |
f7e5fa849318d11381d639de52b1756f
|
|
| BLAKE2b-256 |
6b4f5c6aa08574be1bac10d9e8f66a3c36cfc8fee44df273a11a1e3766ebe6ed
|