brunoccast c7afe2f86c [TRANSLATION] Update Plugin POs 5 年 前
..
actions ce65fe96ad Oembed bugs with thumbnail generation. 8 年 前
classes 06b25f384a File_redirection->getFile could never get the file anyway if $redir->file_id was empty... 7 年 前
css 1d791f81fa Attachment styling 8 年 前
lib fb7f572eed Purify oembed html (again) 9 年 前
locale c7afe2f86c [TRANSLATION] Update Plugin POs 5 年 前
scripts b7edac2610 HTTPClient get $params array and oEmbedHelper uses it 9 年 前
tests f5efbd8037 twitPic no longer exists/is active 10 年 前
CONFIGURE 1776c90cb9 Moved oEmbed stuff out to a plugin (Oembed). 10 年 前
OembedPlugin.php 46f98b3142 [VersionBump] 1.19.0, fairly late 5 年 前
README a614205663 Add plugin READMEs 9 年 前

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.

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
));