Skip to main content

Pelican Vimeo

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"
webkitallowfullscreen mozallowfullscreen allowfullscreen></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"
webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</div>

Additionally, this plugin allows to specify the following Vimeo player URL parameters as options (values are passed through):

  • autopause

  • autoplay

  • background

  • byline

  • color

  • controls

  • dnt

  • fun

  • loop

  • muted

  • playsinline

  • portrait

  • quality

  • speed

  • t

  • texttrack

  • title

  • transparent

If you encounter Vimeo player URL parameters not supported by this plugin, you can also specify those appended to the video ID (e.g., .. vimeo:: 37818131?another_option=another_value&foo=bar).

License

MIT license.

Metadata

Release files for pelican-vimeo 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pelican-vimeo 0.1.2
File Size Uploaded Provenance Actions
pelican_vimeo-0.1.2.tar.gz 4.5 kB Without provenance Details for pelican_vimeo-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pelican-vimeo 0.1.2
File Interpreter ABI Platform Actions
pelican_vimeo-0.1.2-py2.py3-none-any.whl Python 2, Python 3 none any Details for pelican_vimeo-0.1.2-py2.py3-none-any.whl

Total release size: 11.9 kB

Release files / pelican_vimeo-0.1.2.tar.gz

Download URL pelican_vimeo-0.1.2.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
08e20630e1946acdcb7433a14e7e339b8dba80a038345c57fbf8d968096b62c9
BLAKE2b-256 checksum
How to use checksums
6d1367725157f848517198d0cec5896be21e9473f063dd12a2472d5b27fabc2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.3

Release files / pelican_vimeo-0.1.2-py2.py3-none-any.whl

Download URL pelican_vimeo-0.1.2-py2.py3-none-any.whl
Size 7.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0d8b39ae3eee5780eae50f64158e82db1bfde12db4f7c90cc4e9583b6dfbbebf
BLAKE2b-256 checksum
How to use checksums
7c9a83ae3dde90a63abede488ecf19c79ec08467d4b89d26747bb6cad9ee70e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.3

Security for pelican-vimeo 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page