Add new iframe allowed resources
This commit is contained in:
parent
c9eb6a47a6
commit
a5aa0ba9fc
@ -39,6 +39,8 @@ Router\before(function($action) {
|
|||||||
'https://www.youtube.com',
|
'https://www.youtube.com',
|
||||||
'http://player.vimeo.com',
|
'http://player.vimeo.com',
|
||||||
'https://player.vimeo.com',
|
'https://player.vimeo.com',
|
||||||
|
'http://www.dailymotion.com',
|
||||||
|
'https://www.dailymotion.com',
|
||||||
))
|
))
|
||||||
));
|
));
|
||||||
|
|
||||||
|
7
vendor/PicoFeed/Filter.php
vendored
7
vendor/PicoFeed/Filter.php
vendored
@ -104,10 +104,15 @@ class Filter
|
|||||||
);
|
);
|
||||||
|
|
||||||
public $iframe_allowed_resources = array(
|
public $iframe_allowed_resources = array(
|
||||||
|
'//www.youtube.com',
|
||||||
'http://www.youtube.com/',
|
'http://www.youtube.com/',
|
||||||
'https://www.youtube.com/',
|
'https://www.youtube.com/',
|
||||||
'http://player.vimeo.com/',
|
'http://player.vimeo.com/',
|
||||||
'https://player.vimeo.com/'
|
'https://player.vimeo.com/',
|
||||||
|
'//player.vimeo.com/',
|
||||||
|
'http://www.dailymotion.com',
|
||||||
|
'https://www.dailymotion.com',
|
||||||
|
'//www.dailymotion.com',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user