Diogo Cordeiro 1536d3ef29 [XML/HTML Outputter] General improvements and refactoring as well as some bug fixes пре 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) пре 8 година
locale d7fd6bac72 Snapshot of the Transifex translation project - October 2015 пре 9 година
scripts b7edac2610 HTTPClient get $params array and oEmbedHelper uses it пре 9 година
tests f5efbd8037 twitPic no longer exists/is active пре 9 година
CONFIGURE 1776c90cb9 Moved oEmbed stuff out to a plugin (Oembed). пре 10 година
OembedPlugin.php 1536d3ef29 [XML/HTML Outputter] General improvements and refactoring as well as some bug fixes пре 5 година
README a614205663 Add plugin READMEs пре 8 година

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