Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

OEmbed anything.

Project Description

Leonardo Oembed

Leonardo wrapper for feincms-oembed converts standard URLs from more than 200 content providers into embedded videos, images and rich article previews by letting Embedly or another OEmbed provider to the hard work.

Thanks @matthiask

.. contents::


.. code-block:: bash

pip install leonardo-oembed

or as leonardo bundle

.. code-block:: bash

pip install django-leonardo["oembed"]


Add ``leonardo_module_oembed`` to APPS list, in the ````::

APPS = [

Sync static

.. code-block:: bash

python makemigrations --noinput
python migrate --noinput
python sync_all


If you want to customize the Embedly_ request or use another OEmbed provider,
set ``settings.OEMBED_PROVIDER`` to a function receiving the URL and a dict
with additional arguments and returning a suitable URL which returns OEmbed
JSON on access. ``OEMBED_PROVIDER`` must either be a dotted python path or a

from feincms_oembed.providers import embedly_oembed_provider
def my_provider(url, kwargs):
kwargs['wmode'] = 'opaque'
return embedly_oembed_provider(url, kwargs)

# OEMBED_PROVIDER = my_provider # The function can be used too, not only
# the dotted python path.

Read More


Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(5.0 kB) Copy SHA256 Hash SHA256
Source None Jan 7, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers