Merge pull request #4855 from UndefinedOffset/vimeo_oembed_fix

BUGFIX: Vimeo oEmbed endpoint redirecting to no www
This commit is contained in:
Damian Mooyman 2015-12-16 12:01:12 +13:00
commit f8c760a7c9

View File

@ -23,11 +23,11 @@ Oembed:
'http://*.hulu.com/watch/*': 'http://*.hulu.com/watch/*':
'http://www.hulu.com/api/oembed.json' 'http://www.hulu.com/api/oembed.json'
'http://*.vimeo.com/*': 'http://*.vimeo.com/*':
http: 'http://www.vimeo.com/api/oembed.json', http: 'http://vimeo.com/api/oembed.json',
https: 'https://www.vimeo.com/api/oembed.json' https: 'https://vimeo.com/api/oembed.json'
'https://*.vimeo.com/*': 'https://*.vimeo.com/*':
http: 'http://www.vimeo.com/api/oembed.json', http: 'http://vimeo.com/api/oembed.json',
https: 'https://www.vimeo.com/api/oembed.json' https: 'https://vimeo.com/api/oembed.json'
'http://twitter.com/*': 'http://twitter.com/*':
http: 'https://api.twitter.com/1/statuses/oembed.json', http: 'https://api.twitter.com/1/statuses/oembed.json',
https: 'https://api.twitter.com/1/statuses/oembed.json' https: 'https://api.twitter.com/1/statuses/oembed.json'