iframe_whitelisted: allow player.vimeo.com

This commit is contained in:
Andrew Dolgov 2015-10-26 20:50:44 +03:00
parent 58a44ecb3f
commit 389ae94a40

View file

@ -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);