'^i\d*\.vimeocdn\.com$' => 'Vimeo',
);
public $append_whitelist = array(); // fill this array as domain_whitelist to add more trusted sources
- public $check_whitelist = true; // security/abuse precaution
+ public $check_whitelist = false; // security/abuse precaution
protected $imgData = array();
case 'video':
case 'link':
if (!empty($oembed->html)
- && (StatusNet::isAjax() || common_config('attachments', 'show_html'))) {
+ && (GNUsocial::isAjax() || common_config('attachments', 'show_html'))) {
require_once INSTALLDIR.'/extlib/htmLawed/htmLawed.php';
$config = array(
'safe'=>1,