1 The Oembed plugin for using and representing oEmbed data.
3 See: http://www.oembed.com/
7 This plugin is enabled by default
11 width: Maximum width of the thumbnail in pixels.
12 height: Maximum height of the thumbnail in pixels.
13 show_html: Whether to show HTML oEmbed data.
14 domain_whitelist: Array of regular expressions. Always escape your dots and end your strings.
15 check_whitelist: Whether to check the domain_whitelist.
19 $config['thumbnail']['width'] = 42;
20 $config['thumbnail']['height'] = 42;
21 $config['attachments']['show_html'] = true;
22 addPlugin('Oembed', array(
23 'domain_whitelist' => array(
24 '^i\d*\.ytimg\.com$' => 'YouTube',
25 '^i\d*\.vimeocdn\.com$' => 'Vimeo'
27 'check_whitelist' => true