Skip to main content
django-vimeo
==================

Django module for easy embedding Vimeo videos into app.

.. image:: https://travis-ci.org/suquant/django-vimeo.svg?branch=master
:target: https://travis-ci.org/suquant/django-vimeo
.. image:: https://coveralls.io/repos/suquant/django-vimeo/badge.svg?branch=master&service=github
:target: https://coveralls.io/github/suquant/django-vimeo?branch=master


Quick start
************

#. Install ``django-vimeo``:

::

pip install django-vimeo


or from sources

::

pip install git+https://github.com/suquant/django-vimeo.git


#. Add ``django_vimeo`` to ``INSTALLED_APPS`` in your Django settings.

#. Usage of template tags:

::

{% load django_vimeo_tags %}

The video tag:
{% vimeo instance.video width=600 as video %}
<video width="600" loop="loop" autoplay="autoplay" poster="{{ video.optimal_picture.link }}">
<source src="{{ video.optimal_file.link_secure }}" type='{{ video.optimal_file.type }}'>
{% trans 'tag "video" not supported by your browser' %}
<a href="{{ video.optimal_download.link }}">{% trans 'download video' %}</a>.
</video>
{% endvimeo %}

Or embed shortcut:
{% vimeo instance.video width=600 %}

#. Usage of model fields

::

from django.db import models
from django_vimeo import fields


class ExampleModel(models.Model):
video = fields.VimeoField(null=True, blank=True)


Release 0.1 (Januar 20, 2016)
--------------------------

- Initial release

Metadata

Release files for django-vimeo 0.1.5

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

Source distribution (sdist)

Source distribution for django-vimeo 0.1.5
File Size Uploaded Provenance
django-vimeo-0.1.5.tar.gz 13.2 kB Without provenance Details

Release files / django-vimeo-0.1.5.tar.gz

Download URL django-vimeo-0.1.5.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
aa516cfc5200a3e830e2e5222dcf5f407977d6375b45f350aade78294c27b40d
BLAKE2b-256 checksum
How to use checksums
15e50d39b8a2b2531ce305349a4b7bbc2f9a3dc3f8b2eb612518ac7af6d6d7bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-vimeo 0.1.5

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