From baf2454d6c791c4a0a2f3c5eef9ec9215b6173a7 Mon Sep 17 00:00:00 2001 From: Karl Hobley Date: Thu, 11 Dec 2014 10:10:17 +0000 Subject: [PATCH] Added ISSUU oembed provider http://developers.issuu.com/api/oembed.html --- wagtail/wagtailembeds/oembed_providers.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/wagtail/wagtailembeds/oembed_providers.py b/wagtail/wagtailembeds/oembed_providers.py index e60c3e5d7c..bc944f9bde 100644 --- a/wagtail/wagtailembeds/oembed_providers.py +++ b/wagtail/wagtailembeds/oembed_providers.py @@ -291,7 +291,12 @@ OEMBED_ENDPOINTS = { ], "http://www.ifttt.com/oembed/": [ "^http(?:s)?://ifttt\\.com/recipes/.+$" - ] + ], + + # Added 11th December 2014 - http://developers.issuu.com/api/oembed.html + "http://issuu.com/oembed": [ + "^http(?:s)?://(?:www\\.)?issuu\\.com/[^#?/]+/docs/.+$" + ], }