Add new iframe allowed resources

This commit is contained in:
Frederic Guillot 2013-07-18 19:24:04 -04:00
parent c9eb6a47a6
commit a5aa0ba9fc
2 changed files with 8 additions and 1 deletions

View File

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

View File

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