Diogo Cordeiro cfa8079c41 Fix wrong conditional 6 years ago
..
actions ca368f94e7 GNU Social Oembed Plugin now doesn't keep a copy of original image 6 years ago
classes ca368f94e7 GNU Social Oembed Plugin now doesn't keep a copy of original image 6 years ago
css 1d791f81fa Attachment styling 8 years ago
lib ca368f94e7 GNU Social Oembed Plugin now doesn't keep a copy of original image 6 years ago
locale d7fd6bac72 Snapshot of the Transifex translation project - October 2015 9 years ago
scripts ca368f94e7 GNU Social Oembed Plugin now doesn't keep a copy of original image 6 years ago
tests f5efbd8037 twitPic no longer exists/is active 9 years ago
CONFIGURE 1776c90cb9 Moved oEmbed stuff out to a plugin (Oembed). 10 years ago
OembedPlugin.php cfa8079c41 Fix wrong conditional 6 years ago
README 13a9d0ae29 Added option to keep original image on oembed 6 years ago

README

The Oembed plugin for using and representing oEmbed data.

See: http://www.oembed.com/

Installation
============
This plugin is enabled by default

Settings
========
width: Maximum width of the thumbnail in pixels.
height: Maximum height of the thumbnail in pixels.
show_html: Whether to show HTML oEmbed data.
domain_whitelist: Array of regular expressions. Always escape your dots and end your strings.
check_whitelist: Whether to check the domain_whitelist.
keep_original: Whether to keep original image or not.

Example
=======
$config['thumbnail']['width'] = 42;
$config['thumbnail']['height'] = 42;
$config['attachments']['show_html'] = true;
addPlugin('Oembed', array(
'domain_whitelist' => array(
'^i\d*\.ytimg\.com$' => 'YouTube',
'^i\d*\.vimeocdn\.com$' => 'Vimeo'
),
'check_whitelist' => true
));