additional_plugins/serendipity_event_oembed/oembed/config.php
Grischa Brockhaus 0860f97c66 OEmbed:
* Added directory for custom OEmbed providers, that implemend
OEmbed conversion providers for services that don't support oembed
* Implemented a post.ly custom provider, fetching info from the
Posterous API and converting it into photo or video OEmbeds as an
example for a hadwritten custom provider.
2011-12-22 14:04:23 +01:00

24 lines
933 B
PHP

<?php
if (!defined("PLUGIN_OEMBED_PROVIDER_XML_FILE")) {
@define("PLUGIN_OEMBED_PROVIDER_XML_FILE", dirname(__FILE__) . '/' . "providers.xml");
}
require_once dirname(__FILE__) . '/' . 'Exception404.class.php';
require_once dirname(__FILE__) . '/' . 'OEmbed.class.php';
require_once dirname(__FILE__) . '/' . 'LinkEmbed.class.php';
require_once dirname(__FILE__) . '/' . 'PhotoEmbed.class.php';
require_once dirname(__FILE__) . '/' . 'RichEmbed.class.php';
require_once dirname(__FILE__) . '/' . 'VideoEmbed.class.php';
require_once dirname(__FILE__) . '/' . 'EmbedProvider.class.php';
require_once dirname(__FILE__) . '/' . 'OEmbedProvider.class.php';
require_once dirname(__FILE__) . '/' . 'ProviderManager.class.php';
// Include all custom providers if any
$oembed_config_class_wildcard = dirname(__FILE__) . "/customs/*class.php";
foreach (glob($oembed_config_class_wildcard) as $filename)
{
@include $filename;
}