Metadata-Version: 2.0
Name: pelican-vimeo
Version: 0.1.1
Summary: Easily embed Vimeo videos in your posts
Home-page: https://github.com/kura/pelican_vimeo
Author: Kura
Author-email: kura@kura.io
License: MIT
Download-URL: https://github.com/kura/pelican_vimeo/archive/0.1.1.zip
Platform: linux
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing

=============
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:

.. code-block:: bash

    $ pip install pelican-vimeo

Then enabled it in your pelicanconf.py

.. code-block:: python

    PLUGINS = [
        # ...
        'pelican_vimeo',
        # ...
    ]

Usage
=====

In your article or page, you simply need to add a line to embed you video.

.. code-block:: rst

    .. vimeo:: VIDEO_ID

Which will result in:

.. code-block:: html

    <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`

.. code-block:: rst

	.. vimeo:: 37818131
        :width: 800
        :height: 500
        :align: center

Which will result in:

.. code-block:: html

    <div class="vimeo" align="center">
    <iframe width="800" height="500" src="https://player.vimeo.com/video/37818131" frameborder="0"></iframe>
    </div>

License
=======

`MIT`_ license.

.. _MIT: http://opensource.org/licenses/MIT

