Reference the embedly package requirement for embedly finder support (#5680)

This commit is contained in:
Tom Readings 2019-11-05 17:48:59 +00:00 committed by Matt Westcott
parent b9f585a6c9
commit e75b74911e
2 changed files with 5 additions and 2 deletions

View file

@ -420,6 +420,7 @@ Contributors
* Igor van Spengen
* Stefani Castellanos
* Aliosha Padovani
* Tom Readings
Translators
===========

View file

@ -204,8 +204,10 @@ and a common video playback API which is useful if your site allows videos to
be hosted on different providers and you need to implement custom controls for
them.
Wagtail has built in support for fetching embeds from Embed.ly. To use it, add
an embed finder to your ``WAGTAILEMBEDS_FINDERS`` setting that uses the
Wagtail has built in support for fetching embeds from Embed.ly. To use it,
first pip install the ``Embedly`` `python package <https://pypi.org/project/Embedly/>`_.
Now add an embed finder to your ``WAGTAILEMBEDS_FINDERS`` setting that uses the
``wagtail.embeds.finders.oembed`` class and pass it your API key:
.. code-block:: python