iframe_whitelisted: allow player.vimeo.com
This commit is contained in:
parent
58a44ecb3f
commit
389ae94a40
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue