silverstripe-framework/_config/Oembed.yml
Loz Calver f26b52eb91 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
2013-10-15 16:36:49 +01:00

27 lines
790 B
YAML

name: Oembed
---
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/*':
'http://lab.viddler.com/services/oembed/'
'http://*.revision3.com/*':
'http://revision3.com/api/oembed/'
'http://*.hulu.com/watch/*':
'http://www.hulu.com/api/oembed.json'
'http://*.vimeo.com/*':
'http://www.vimeo.com/api/oembed.json'
'https://twitter.com/*':
'https://api.twitter.com/1/statuses/oembed.json'
'http://twitter.com/*':
'https://api.twitter.com/1/statuses/oembed.json'
autodiscover:
true
enabled:
true