summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-10-26 20:50:44 +0300
committerAndrew Dolgov <[email protected]>2015-10-26 20:50:44 +0300
commit389ae94a403917b76f89df753fca1c140c108f3b (patch)
tree155d767531d075d18b8488b24cc9267313859501 /include
parent58a44ecb3f789f6e06562b34bb0e3f65e3dd0e87 (diff)
iframe_whitelisted: allow player.vimeo.com
Diffstat (limited to 'include')
-rwxr-xr-xinclude/functions2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions2.php b/include/functions2.php
index 18ba7eb5c..51759aea9 100755
--- a/include/functions2.php
+++ b/include/functions2.php
@@ -858,7 +858,7 @@
}
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);