Vimeo oEmbed thumbnail host added to whitelist
This commit is contained in:
parent
20e1257e70
commit
000b7675d8
|
@ -8,6 +8,7 @@ class OembedPlugin extends Plugin
|
|||
// WARNING, these are _regexps_ (slashes added later). Always escape your dots and end your strings
|
||||
public $domain_whitelist = array( // hostname => service provider
|
||||
'^i\d*\.ytimg\.com$' => 'YouTube',
|
||||
'^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
|
||||
|
|
Loading…
Reference in New Issue
Block a user