mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 05:46:00 +00:00
iframe_whitelisted: allow player.vimeo.com
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user