iframe_whitelisted: allow player.vimeo.com
This commit is contained in:
parent
58a44ecb3f
commit
389ae94a40
|
@ -858,7 +858,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function iframe_whitelisted($entry) {
|
function iframe_whitelisted($entry) {
|
||||||
$whitelist = array("youtube.com", "youtu.be", "vimeo.com");
|
$whitelist = array("youtube.com", "youtu.be", "vimeo.com", "player.vimeo.com");
|
||||||
|
|
||||||
@$src = parse_url($entry->getAttribute("src"), PHP_URL_HOST);
|
@$src = parse_url($entry->getAttribute("src"), PHP_URL_HOST);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue