silverstripe-framework/_config/Oembed.yml

41 lines
1.5 KiB
YAML
Raw Normal View History

name: Oembed
---
Oembed:
providers:
'http://*.youtube.com/watch*':
2013-10-15 23:49:04 +02:00
http: 'http://www.youtube.com/oembed/',
https: 'https://www.youtube.com/oembed/?scheme=https'
'https://*.youtube.com/watch*':
2013-10-15 23:49:04 +02:00
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/',
2013-10-15 23:49:04 +02:00
https: '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: 'http://vimeo.com/api/oembed.json',
https: 'https://vimeo.com/api/oembed.json'
2013-10-15 23:49:04 +02:00
'https://*.vimeo.com/*':
http: 'http://vimeo.com/api/oembed.json',
https: 'https://vimeo.com/api/oembed.json'
'http://twitter.com/*':
2013-10-15 23:49:04 +02:00
http: 'https://api.twitter.com/1/statuses/oembed.json',
https: 'https://api.twitter.com/1/statuses/oembed.json'
'https://twitter.com/*':
http: 'https://api.twitter.com/1/statuses/oembed.json',
https: 'https://api.twitter.com/1/statuses/oembed.json'
autodiscover:
true
enabled:
true