From f26b52eb913964dbbe5210642da67d3f1dca0c3f Mon Sep 17 00:00:00 2001 From: Loz Calver Date: Tue, 15 Oct 2013 16:36:49 +0100 Subject: [PATCH] Allow https YouTube oEmbed URLs YouTube's oEmbed service supports a ?scheme=https parameter. See https://groups.google.com/forum/?fromgroups#!topic/youtube-api-gdata/S9Fa-Zw2Ma8 --- _config/Oembed.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_config/Oembed.yml b/_config/Oembed.yml index cbea56f9d..4aa87b061 100644 --- a/_config/Oembed.yml +++ b/_config/Oembed.yml @@ -4,6 +4,8 @@ Oembed: providers: 'http://*.youtube.com/watch*': 'http://www.youtube.com/oembed/' + 'https://*.youtube.com/watch*': + 'https://www.youtube.com/oembed/?scheme=https' 'http://*.flickr.com/*': 'http://www.flickr.com/services/oembed/' 'http://*.viddler.com/*': @@ -21,4 +23,4 @@ Oembed: autodiscover: true enabled: - true \ No newline at end of file + true