2011-12-14 12:18:36 +01:00
|
|
|
<?php
|
2011-12-14 15:29:47 +01:00
|
|
|
if (!defined("PLUGIN_OEMBED_PROVIDER_XML_FILE")) {
|
|
|
|
@define("PLUGIN_OEMBED_PROVIDER_XML_FILE", dirname(__FILE__) . '/' . "providers.xml");
|
|
|
|
}
|
2011-12-14 12:18:36 +01:00
|
|
|
|
2011-12-14 15:29:47 +01:00
|
|
|
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';
|
2011-12-15 01:42:11 +01:00
|
|
|
|
2011-12-14 15:29:47 +01:00
|
|
|
require_once dirname(__FILE__) . '/' . 'ProviderManager.class.php';
|
|
|
|
|
2011-12-22 03:35:15 +01:00
|
|
|
// 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;
|
|
|
|
}
|