From e75b74911e883ad7c2cd3829e54776d860addf16 Mon Sep 17 00:00:00 2001 From: Tom Readings Date: Tue, 5 Nov 2019 17:48:59 +0000 Subject: [PATCH] Reference the embedly package requirement for embedly finder support (#5680) --- CONTRIBUTORS.rst | 1 + docs/advanced_topics/embeds.rst | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS.rst b/CONTRIBUTORS.rst index 5a7dac21a..4103d04fa 100644 --- a/CONTRIBUTORS.rst +++ b/CONTRIBUTORS.rst @@ -420,6 +420,7 @@ Contributors * Igor van Spengen * Stefani Castellanos * Aliosha Padovani +* Tom Readings Translators =========== diff --git a/docs/advanced_topics/embeds.rst b/docs/advanced_topics/embeds.rst index 308bb843d..ca3ce8db1 100644 --- a/docs/advanced_topics/embeds.rst +++ b/docs/advanced_topics/embeds.rst @@ -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 `_. + +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