29 lines
1 KiB
PHP
29 lines
1 KiB
PHP
<?php
|
|
if (!defined("PLUGIN_OEMBED_PROVIDER_XML_FILE")) {
|
|
@define("PLUGIN_OEMBED_PROVIDER_XML_FILE", dirname(__FILE__) . '/' . "providers.xml");
|
|
}
|
|
|
|
// Include all class files
|
|
/*
|
|
$oembed_config_class_wildcard = dirname(__FILE__) . "/*class.php";
|
|
foreach (glob($oembed_config_class_wildcard) as $filename)
|
|
{
|
|
//echo "$filename<br/>\n";
|
|
@include $filename;
|
|
}
|
|
*/
|
|
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';
|
|
|
|
// Will be loaded via generic oembedprovider!
|
|
//require_once dirname(__FILE__) . '/' . 'YouTubeProvider.class.php';
|
|
|
|
require_once dirname(__FILE__) . '/' . 'ProviderManager.class.php';
|
|
|