From 242de4ec7c3ec461af4bf167fe3629ae10fe2594 Mon Sep 17 00:00:00 2001 From: Michael Strong Date: Fri, 24 Apr 2015 17:05:15 +1200 Subject: [PATCH] NEW Added Youtube's short URL. At the moment using the short URL (eg. https://youtu.be/qA0T8WumxT4) defaults to http. This introduces issue when running over https. --- _config/Oembed.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_config/Oembed.yml b/_config/Oembed.yml index 659d0f3d6..02be4c601 100644 --- a/_config/Oembed.yml +++ b/_config/Oembed.yml @@ -8,6 +8,12 @@ Oembed: 'https://*.youtube.com/watch*': http: 'http://www.youtube.com/oembed/', https: 'https://www.youtube.com/oembed/?scheme=https' + 'http://*.youtu.be/*': + http: 'http://www.youtube.com/oembed/', + https: 'https://www.youtube.com/oembed/?scheme=https' + 'https://youtu.be/*': + http: 'http://www.youtube.com/oembed/', + https: 'https://www.youtube.com/oembed/?scheme=https' 'http://*.flickr.com/*': 'http://www.flickr.com/services/oembed/' 'http://*.viddler.com/*':